Merge pull request #134 from rhansen/syslog-when-daemon

Delete do-nothing `$opt{'syslog'} = 1;` when daemonized
This commit is contained in:
Sandro 2020-05-29 04:00:51 +02:00 committed by GitHub
commit c314164d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;