summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-09-16 20:38:20 +0100
committerrofl0r <rofl0r@users.noreply.github.com>2020-09-16 21:01:02 +0100
commit45b238fc6f2dc4705578e6a35cf6031e818a04c0 (patch)
tree4de6913d1aa62250be190e8985c6a89e23604191
parent45323584a0b24dc82d583cb34c85051363488bc9 (diff)
main: print error when config_init() fails
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index deb1f6d..c478ccf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -301,6 +301,7 @@ main (int argc, char **argv)
log_message (LOG_NOTICE, "Initializing " PACKAGE " ...");
if (config_init()) {
+ fprintf(stderr, "ERROR: config_init() failed\n");
exit (EX_SOFTWARE);
}