Merge branch 'ircd-spit-unreadable-config' into devel

This commit is contained in:
Sam Dodrill 2013-09-29 05:40:31 -07:00
commit ef6e8564e0
1 changed files with 8 additions and 0 deletions

View File

@ -1532,7 +1532,15 @@ read_conf_files(int cold)
{ {
if(cold) if(cold)
{ {
inotice("Failed in reading configuration file %s, aborting", filename);
ilog(L_MAIN, "Failed in reading configuration file %s", filename); ilog(L_MAIN, "Failed in reading configuration file %s", filename);
int e;
e = errno;
inotice("FATAL: %s %s", strerror(e), filename);
ilog(L_MAIN, "FATAL: %s %s", strerror(e), filename);
exit(-1); exit(-1);
} }
else else