From: Richard Kettlewell Date: Mon, 19 Nov 2007 21:04:08 +0000 (+0000) Subject: fix syslog test X-Git-Tag: 5.0.3~448 X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/commitdiff_plain/5464a25ad98e1799e29eb2263ad1075cda627896?ds=inline fix syslog test --- diff --git a/server/rescan.c b/server/rescan.c index 1c3eb58..890e3fe 100644 --- a/server/rescan.c +++ b/server/rescan.c @@ -341,7 +341,7 @@ int main(int argc, char **argv) { default: fatal(0, "invalid option"); } } - if(!logsyslog) { + if(logsyslog) { openlog(progname, LOG_PID, LOG_DAEMON); log_default = &log_syslog; }