Delete do-nothing $opt{'syslog'} = 1; when daemonized
That line has no effect because of the `%opt = %saved_opt;` line a few lines later.
This commit is contained in:
parent
f425cea2d1
commit
d70c3bf784
1 changed files with 0 additions and 1 deletions
1
ddclient
1
ddclient
|
|
@ -845,7 +845,6 @@ if (opt('foreground') || opt('force')) {
|
||||||
# write out the pid file if we're daemon'ized
|
# write out the pid file if we're daemon'ized
|
||||||
if (opt('daemon')) {
|
if (opt('daemon')) {
|
||||||
write_pid();
|
write_pid();
|
||||||
$opt{'syslog'} = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
umask 077;
|
umask 077;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue