]> jfr.im git - solanum.git/commitdiff
src/ircd: fix -configfile argument
authorQuora Dodrill <redacted>
Wed, 10 Jul 2013 15:44:27 +0000 (08:44 -0700)
committerQuora Dodrill <redacted>
Wed, 10 Jul 2013 15:44:27 +0000 (08:44 -0700)
src/ircd.c

index e5f1ad6bb5fd88b811fb47c35364b3b8bf9d52d5..84e62dff50a51d2cc3329d63114be02daa812f48 100644 (file)
@@ -621,8 +621,9 @@ main(int argc, char *argv[])
        }
        
        /* Make sure config file exists -- Quora */
-       if( access( CPATH, F_OK|R_OK ) == -1 ) {
-                 inotice("FATAL: No config file found at %s, exiting", CPATH);
+       if( access( ConfigFileEntry.configfile, F_OK|R_OK ) == -1 ) {
+                 inotice("FATAL: No config file found at %s, exiting", 
+                         ConfigFileEntry.configfile);
                  exit(-1);
        }