add error return message to logging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7c478e9f0b
commit
3f9458bd09
@ -48,7 +48,7 @@ sub runcmd
|
||||
$rc = $? >> 8;
|
||||
if ($rc > 0)
|
||||
{
|
||||
my $msg="$cmd returned rc=$rc\n";
|
||||
my $msg="$cmd returned rc=$rc @$outref\n";
|
||||
`logger -t xcat $msg`;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user