mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-09 13:00:16 +00:00
fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -85,7 +85,7 @@ sub runcmd {
|
||||
my @output = `$cmd`;
|
||||
my $rc = $? >> 8;
|
||||
if ($rc) {
|
||||
system("logger -t xcat 'confignimsh: command $cmd failed with rc $rc: " . join('',@output) . "'");
|
||||
system("logger -t xcat -p local4.err 'confignimsh: command $cmd failed with rc $rc: " . join('',@output) . "'");
|
||||
exit $rc;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user