Merge error notice on unreadable config file
This fix will help with initial setup among other things
This commit is contained in:
parent
7a2349e318
commit
1659d99bac
|
@ -1531,7 +1531,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
|
||||||
|
|
Loading…
Reference in New Issue