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:
Richard Hansen 2020-05-27 13:18:02 -04:00
parent f425cea2d1
commit d70c3bf784

View file

@ -845,7 +845,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;