Defect 3731

This commit is contained in:
lissav 2013-08-12 12:52:25 -04:00
parent ddc5274f50
commit 9209ba674b

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();
};