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:
lissav 2008-05-15 17:18:04 +00:00
parent 7c478e9f0b
commit 3f9458bd09

View File

@ -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`;
}
}