Argh, typos
This commit is contained in:
parent
547f9846b5
commit
7ff501d8dc
@ -83,7 +83,7 @@ sub new {
|
|||||||
|
|
||||||
# Set up syslog if needed. If open fails, disable syslog again
|
# Set up syslog if needed. If open fails, disable syslog again
|
||||||
if($obj -> {"syslog"}) {
|
if($obj -> {"syslog"}) {
|
||||||
eval { openlog($$, "ndelay,pid", LOG_DAEMON); }
|
eval { openlog($$, "ndelay,pid", LOG_DAEMON); };
|
||||||
if($@) {
|
if($@) {
|
||||||
$obj -> {"syslog"} = 0;
|
$obj -> {"syslog"} = 0;
|
||||||
$obj -> warn_log(undef, "Unable to conenct to syslog: $@");
|
$obj -> warn_log(undef, "Unable to conenct to syslog: $@");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user