summaryrefslogtreecommitdiffstats
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:24 -0400
commitb64548afe2eb6586db4922f866c25b0bc2e64cad (patch)
tree1323022968c486173e206b2bc607965409c2523b
parente3458944d3b6ab12adaba56e1397f2bd110389d3 (diff)
downloadsssd-b64548afe2eb6586db4922f866c25b0bc2e64cad.tar.gz
sssd-b64548afe2eb6586db4922f866c25b0bc2e64cad.tar.xz
sssd-b64548afe2eb6586db4922f866c25b0bc2e64cad.zip
Add generic error message
-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;
}