Merge branch 'ircd-spit-unreadable-config' into devel
This commit is contained in:
commit
ef6e8564e0
|
@ -1532,7 +1532,15 @@ read_conf_files(int cold)
|
|||
{
|
||||
if(cold)
|
||||
{
|
||||
inotice("Failed in reading configuration file %s, aborting", 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);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue