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:
ligc 2013-01-24 07:29:35 +00:00
parent 93a23bc8d2
commit 29d5191d91
2 changed files with 2 additions and 2 deletions

View File

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

View File

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