diff options
Diffstat (limited to 'nss')
-rw-r--r-- | nss/makedb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/makedb.c b/nss/makedb.c index 8cee92f891..1b1996647c 100644 --- a/nss/makedb.c +++ b/nss/makedb.c @@ -842,7 +842,7 @@ set_file_creation_context (const char *outname, mode_t mode) /* Check if SELinux is enabled, and remember. */ if (enabled == 0) - enabled = is_selinux_enabled (); + enabled = is_selinux_enabled () ? 1 : -1; if (enabled < 0) return; |