Revert "libsemanage: Use default semanage.conf as a fallback"
This reverts commit 4120df1c6e
.
This commit is contained in:
parent
f43e4eba24
commit
b5fe34deba
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue