main: print error when config_init() fails
This commit is contained in:
parent
45323584a0
commit
45b238fc6f
@ -301,6 +301,7 @@ main (int argc, char **argv)
|
|||||||
log_message (LOG_NOTICE, "Initializing " PACKAGE " ...");
|
log_message (LOG_NOTICE, "Initializing " PACKAGE " ...");
|
||||||
|
|
||||||
if (config_init()) {
|
if (config_init()) {
|
||||||
|
fprintf(stderr, "ERROR: config_init() failed\n");
|
||||||
exit (EX_SOFTWARE);
|
exit (EX_SOFTWARE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user