diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-remote.pl.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index c2f1fecd875a..337374c214b5 100755 --- a/scripts/build-remote.pl.in +++ b/scripts/build-remote.pl.in @@ -263,7 +263,8 @@ if ($res != 0) { # or a temporary Nix problem). We propagate this to the caller to # allow it to distinguish between transient and permanent # failures. - print STDERR "build of `$drvPath' on `$hostName' failed with exit code $res\n"; + my $msg = readString($from); + print STDERR "error: $msg (on `$hostName')\n"; exit $res; } |