Merge pull request #134 from rhansen/syslog-when-daemon
Delete do-nothing `$opt{'syslog'} = 1;` when daemonized
This commit is contained in:
commit
c314164d66
1 changed files with 0 additions and 1 deletions
1
ddclient
1
ddclient
|
@ -844,7 +844,6 @@ if (opt('foreground') || opt('force')) {
|
|||
# write out the pid file if we're daemon'ized
|
||||
if (opt('daemon')) {
|
||||
write_pid();
|
||||
$opt{'syslog'} = 1;
|
||||
}
|
||||
|
||||
umask 077;
|
||||
|
|
Loading…
Reference in a new issue