From 45b238fc6f2dc4705578e6a35cf6031e818a04c0 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Wed, 16 Sep 2020 20:38:20 +0100 Subject: [PATCH] main: print error when config_init() fails --- src/main.c | 1 + 1 file changed, 1 insertion(+) 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); }