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

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));
}