summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/monitor/monitor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index 26ac2f09d..58bef34f4 100644
--- a/src/monitor/monitor.c
+++ b/src/monitor/monitor.c
@@ -2261,6 +2261,10 @@ int main(int argc, const char *argv[])
DEBUG(1, ("Cannot read configuration file %s\n", config_file));
ERROR("Cannot read config file %s, please check if permissions "
"are 0600 and the file is owned by root.root\n", config_file);
+ } else {
+ DEBUG(1, ("Error loading configuration database: [%d]: %s",
+ ret, strerror(ret)));
+ ERROR("Cannot load configuration database\n");
}
return 4;
}