chiark / gitweb /
relax config file checking for non-server programs
[disorder] / server / rescan.c
index 1171943467af0e0ec62c0008e96b72a0b0cfb9e5..8a29300fde24a16f7d86c9d5f2d73dd750947867 100644 (file)
@@ -325,7 +325,7 @@ int main(int argc, char **argv) {
     openlog(progname, LOG_PID, LOG_DAEMON);
     log_default = &log_syslog;
   }
-  if(config_read()) fatal(0, "cannot read configuration");
+  if(config_read(0)) fatal(0, "cannot read configuration");
   xnice(config->nice_rescan);
   sa.sa_handler = signal_handler;
   sa.sa_flags = SA_RESTART;