summaryrefslogtreecommitdiffstats
path: root/src/confdb
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/confdb
parentc621bea09e43f702ef96d0fdedf7dc89dd6adaf5 (diff)
downloadsssd-e16c6e35fc3afa903e522114115c5ac1987a902a.tar.gz
sssd-e16c6e35fc3afa903e522114115c5ac1987a902a.tar.xz
sssd-e16c6e35fc3afa903e522114115c5ac1987a902a.zip
Fix config file error message
Diffstat (limited to 'src/confdb')
-rw-r--r--src/confdb/confdb_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/confdb/confdb_setup.c b/src/confdb/confdb_setup.c
index 77cd5f938..1e9200e52 100644
--- a/src/confdb/confdb_setup.c
+++ b/src/confdb/confdb_setup.c
@@ -290,7 +290,7 @@ int confdb_init_db(const char *config_file, struct confdb_ctx *cdb)
if (ret != EOK) {
DEBUG(1, ("Permission check on config file failed.\n"));
talloc_zfree(tmp_ctx);
- return EIO;
+ return EPERM;
}
/* Determine if the conf file has changed since we last updated