chiark / gitweb /
relax config file checking for non-server programs
[disorder] / server / normalize.c
index dc69bb5fc4cdb277f7e5a43541796f139b298985..c16c70fd4ba2d8f6a01105f26c03c1fa1745d955 100644 (file)
@@ -119,7 +119,7 @@ int main(int argc, char attribute((unused)) **argv) {
     fatal(errno, "error calling setlocale");
   if(argc > 1)
     fatal(0, "not intended to be invoked by users");
-  if(config_read())
+  if(config_read(1))
     fatal(0, "cannot read configuration");
   if(!isatty(2)) {
     openlog(progname, LOG_PID, LOG_DAEMON);