-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:
jbjohnso 2008-08-18 13:37:10 +00:00
parent dfb5424f4c
commit e396f2d1f8

View File

@ -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);