better cmd failure warning
git-svn-id: svn://10.0.0.236/trunk@121220 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
33fa0aacd7
commit
85745bd3dd
@ -101,7 +101,7 @@ sub run_shell_command {
|
||||
|
||||
print "cmd = $shell_command\n";
|
||||
|
||||
open CMD, "$shell_command 2>&1|" or die "open: $!";
|
||||
open CMD, "$shell_command 2>&1|" or die "command failed: $!";
|
||||
|
||||
while(<CMD>) {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user