From b64548afe2eb6586db4922f866c25b0bc2e64cad Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 19 Mar 2010 14:19:54 +0100 Subject: Add generic error message --- src/monitor/monitor.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit