From b5fe34deba6b97dd0692e941b4d69cd6ee04acd7 Mon Sep 17 00:00:00 2001 From: Steve Lawrence Date: Thu, 1 Aug 2013 10:15:49 -0400 Subject: [PATCH] Revert "libsemanage: Use default semanage.conf as a fallback" This reverts commit 4120df1c6ea85aa56ed602e46a4030d9e4e45ee6. --- libsemanage/src/handle.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libsemanage/src/handle.c b/libsemanage/src/handle.c index ab39943c..08d458e9 100644 --- a/libsemanage/src/handle.c +++ b/libsemanage/src/handle.c @@ -186,8 +186,7 @@ const char *semanage_selinux_path(void) { const char *semanage_conf_path(void) { - if (private_semanage_conf_path && - access(private_semanage_conf_path, R_OK) == 0) + if (private_semanage_conf_path) return private_semanage_conf_path; return SEMANAGE_CONF_PATH;