summaryrefslogtreecommitdiffstats
path: root/src/monitor
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-03-19 14:17:40 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-22 08:34:16 -0400
commite16c6e35fc3afa903e522114115c5ac1987a902a (patch)
treedf5df5145fcb65e822120260f58de13b71cc22e9 /src/monitor
parentc621bea09e43f702ef96d0fdedf7dc89dd6adaf5 (diff)
downloadsssd-e16c6e35fc3afa903e522114115c5ac1987a902a.tar.gz
sssd-e16c6e35fc3afa903e522114115c5ac1987a902a.tar.xz
sssd-e16c6e35fc3afa903e522114115c5ac1987a902a.zip
Fix config file error message
Diffstat (limited to 'src/monitor')
-rw-r--r--src/monitor/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index ddf3de91f..26ac2f09d 100644
--- a/src/monitor/monitor.c
+++ b/src/monitor/monitor.c
@@ -2257,7 +2257,7 @@ int main(int argc, const char *argv[])
/* Parse config file, fail if cannot be done */
ret = load_configuration(tmp_ctx, config_file, &monitor);
if (ret != EOK) {
- if (ret == EIO) {
+ if (ret == EPERM) {
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);