summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-03-19 14:19:54 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-22 08:34:16 -0400
commitc20aad97efb3b78ff4b23736a1ad8d7ac5a94bfd (patch)
tree362c411a4d8a4a0da18f2d42840af54292703df9 /src
parente16c6e35fc3afa903e522114115c5ac1987a902a (diff)
downloadsssd_unused-c20aad97efb3b78ff4b23736a1ad8d7ac5a94bfd.tar.gz
sssd_unused-c20aad97efb3b78ff4b23736a1ad8d7ac5a94bfd.tar.xz
sssd_unused-c20aad97efb3b78ff4b23736a1ad8d7ac5a94bfd.zip
Add generic error message
Diffstat (limited to 'src')
-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 26ac2f09..58bef34f 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;
}