fix for bug 3320: perl syntax problem in configeth
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
93a23bc8d2
commit
29d5191d91
@ -177,7 +177,7 @@ sub runcmd {
|
||||
if ($rc) {
|
||||
system("logger -t xcat -p local4.err 'configeth: command $cmd failed with rc $rc: " . join('',@output) . "'");
|
||||
my $errout= "configeth: command $cmd failed with rc $rc.";
|
||||
echo $errout;
|
||||
`echo $errout`;
|
||||
exit $rc;
|
||||
}
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ sub runcmd {
|
||||
my $rc = $? >> 8;
|
||||
if ($rc) {
|
||||
system("logger -t xcat -p local4.err 'confignics: command $cmd failed with rc $rc: " . join('',@output) . "'");
|
||||
my $errout= "confignics: command $cmd failed with rc $rc.";
|
||||
my $errout= "confignics: command $cmd failed with rc $rc.\n";
|
||||
print $errout;
|
||||
exit $rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user