[Fai-commit] r4967 - trunk/lib/setup-storage
lange at alioth.debian.org
lange at alioth.debian.org
Thu Jun 12 15:56:26 UTC 2008
Author: lange
Date: 2008-06-12 15:56:25 +0000 (Thu, 12 Jun 2008)
New Revision: 4967
Modified:
trunk/lib/setup-storage/Exec.pm
Log:
print command which caused an error
Modified: trunk/lib/setup-storage/Exec.pm
===================================================================
--- trunk/lib/setup-storage/Exec.pm 2008-06-12 15:17:48 UTC (rev 4966)
+++ trunk/lib/setup-storage/Exec.pm 2008-06-12 15:56:25 UTC (rev 4967)
@@ -281,7 +281,7 @@
# execute the bash command, write stderr and stdout into the testfiles
`$command 1> $stdout_filename 2> $stderr_filename`;
- ( ($?>>8) ne 0 ) and warn "Command had exit code " . ($?>>8) . "\n";
+ ( ($?>>8) ne 0 ) and warn "Command $command had exit code " . ($?>>8) . "\n";
} else {
print "would run command $command; to have them executed, use -X \n";
}
More information about the Fai-commit
mailing list