logger hang

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1406 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-05-15 14:52:25 +00:00
parent 674c1d64c8
commit d05b968cd9

View File

@ -1,6 +1,5 @@
#!/usr/bin/perl
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
#egan@us.ibm.com
#(C)IBM Corp
#
@ -49,7 +48,8 @@ sub runcmd
$rc = $? >> 8;
if ($rc > 0)
{
`logger -t xcat @$outref`;
my $msg="$cmd returned rc=$rc\n";
`logger -t xcat $msg`;
}
}
return $rc;