From e396f2d1f8c5d7c9f6e08d4966fe4b11a18c18ad Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 18 Aug 2008 13:37:10 +0000 Subject: [PATCH] -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 --- xCAT-client/bin/psh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/psh b/xCAT-client/bin/psh index f158f8b9b..fa8e5d481 100755 --- a/xCAT-client/bin/psh +++ b/xCAT-client/bin/psh @@ -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);