0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

src/ircd: Missed case where ircd.conf is unreadable to the ircd

This commit is contained in:
Quora Dodrill 2013-07-09 20:16:04 -07:00
parent adef4da10c
commit 65d921173c

View file

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