From d70c3bf7847fd308c19ce6779a95ee4b3672accb Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Wed, 27 May 2020 13:18:02 -0400 Subject: [PATCH] Delete do-nothing `$opt{'syslog'} = 1;` when daemonized That line has no effect because of the `%opt = %saved_opt;` line a few lines later. --- ddclient | 1 - 1 file changed, 1 deletion(-) diff --git a/ddclient b/ddclient index 1bdf5e7..562cf52 100755 --- a/ddclient +++ b/ddclient @@ -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;