diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-01-19 02:21:15 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-01-19 02:21:15 +0000 |
commit | 1433215598fbec3c84be732ca5379f6eb236e775 (patch) | |
tree | a03c8138938a0bc4b32546ee5e4da5fef48d4f5e /dgit | |
parent | 34a6ded2e36eb2a57f16597d8ec520849256f270 (diff) |
failedcmd prints $us, not $_[0] - ie, dgit doesn't pretend, in the error message, to be its child.
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -332,7 +332,7 @@ sub printcmd { } sub failedcmd { - { local ($!); printcmd \*STDERR, "$_[0]: failed command:", @_ or die $!; }; + { local ($!); printcmd \*STDERR, "$us: failed command:", @_ or die $!; }; if ($!) { fail "failed to fork/exec: $!"; } elsif (!($? & 0xff)) { |