aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index a15a5328..148d175a 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -970,7 +970,7 @@ static int load_params(int argc, char **argv, int optind)
if (cmd_run.invisible)
run.invisible = cmd_run.invisible;
if (cmd_run.use_syslog)
- run.use_syslog = cmd_run.use_syslog;
+ run.use_syslog = (cmd_run.use_syslog == FLAG_TRUE);
/* check and daemon options are not compatible */
if (check_only && run.poll_interval)