Merge error notice on unreadable config file

This fix will help with initial setup among other things
This commit is contained in:
Sam Dodrill 2013-09-29 05:38:54 -07:00
parent 7a2349e318
commit 1659d99bac
1 changed files with 8 additions and 0 deletions

View File

@ -1531,7 +1531,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