defect 4082 - change previous fix to disable warnings when calling setlogsock to work with older versions of perl too
This commit is contained in:
parent
09a0e5fe1f
commit
874f77afed
@ -113,9 +113,9 @@ use Sys::Syslog qw(:DEFAULT setlogsock);
|
||||
openlog("xcatd",,"local4");
|
||||
# turn off warnings for call to setlogsock. puts out warning message if
|
||||
# syslog tcp port not defined in /etc/services. this can safely be ignored.
|
||||
no warnings qw(Sys::Syslog);
|
||||
no warnings;
|
||||
setlogsock(["tcp","unix","stream"]);
|
||||
use warnings qw(Sys::Syslog);
|
||||
use warnings;
|
||||
|
||||
use xCAT::NotifHandler;
|
||||
use xCAT_monitoring::monitorctrl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user