Defect 3731

This commit is contained in:
lissav 2013-08-12 12:56:50 -04:00
parent 1b5ff23093
commit 09bf36a323

View File

@ -457,7 +457,6 @@ sub message
# If they want this msg to also go to syslog, do that now
eval {
openlog("xCAT", '', 'local4');
setlogsock(["tcp", "unix", "stream"]);
if ($sev eq 'SE') {
syslog("err", $rsp);
} else {
@ -504,7 +503,6 @@ sub message
print $stdouterrf "Unable to open auditlog\n";
eval {
openlog("xCAT", '', 'local4');
setlogsock(["tcp", "unix", "stream"]);
syslog("err", "Unable to write to auditlog");
closelog();
};
@ -522,7 +520,6 @@ sub message
print $stdouterrf "Unable to open auditlog\n";
eval {
openlog("xCAT", '', 'local4');
setlogsock(["tcp", "unix", "stream"]);
syslog("err", "Unable to open auditlog");
closelog();
};