chiark / gitweb /
Do some basic compatibility checking when installing a new server
[disorder] / server / rescan.c
index 1380e24fd493709bc188011b0b9104b2c745cfd2..ebff0989d04699cae4bd03fde9d3e2eb965ec6f0 100644 (file)
@@ -380,7 +380,7 @@ int main(int argc, char **argv) {
     openlog(progname, LOG_PID, LOG_DAEMON);
     log_default = &log_syslog;
   }
-  if(config_read(0)) fatal(0, "cannot read configuration");
+  if(config_read(0, NULL)) fatal(0, "cannot read configuration");
   xnice(config->nice_rescan);
   sa.sa_handler = signal_handler;
   sa.sa_flags = SA_RESTART;