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;