-Correct psh output formatting for exit code handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dfb5424f4c
commit
e396f2d1f8
@ -126,7 +126,7 @@ my $exitcode;
|
||||
if (keys %errored) {
|
||||
$exitcode = 2;
|
||||
while (my ($node, $exitc) = each(%errored)) {
|
||||
print "*** ssh to node $node exited with error code $exitc.\n";
|
||||
print stderr "$node: *** ssh exited with error code $exitc.\n";
|
||||
}
|
||||
}
|
||||
exit($exitcode);
|
||||
|
Loading…
Reference in New Issue
Block a user