chiark / gitweb /
fix syslog test
authorRichard Kettlewell <rjk@greenend.org.uk>
Mon, 19 Nov 2007 21:04:08 +0000 (21:04 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Mon, 19 Nov 2007 21:04:08 +0000 (21:04 +0000)
server/rescan.c

index 1c3eb58..890e3fe 100644 (file)
@@ -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;
   }