chiark / gitweb /
relax config file checking for non-server programs
[disorder] / server / deadlock.c
index f6ae42016fb85512963c02ca78fe7919ad9354e6..82e796d695a99c982a1fd9ed290055956802bf28 100644 (file)
@@ -94,7 +94,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");
   info("started");
   trackdb_init(0);
   while(getppid() != 1) {