Chomp log output from the build hook

This commit is contained in:
Eelco Dolstra 2017-05-01 15:59:43 +02:00
parent d7653dfc6d
commit 3f5b98e65a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -3091,7 +3091,7 @@ void DerivationGoal::handleChildOutput(int fd, const string & data)
}
if (hook && fd == hook->fromHook.readSide.get())
printError(data); // FIXME?
printError(chomp(data));
}