aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/checkpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index ecd845f6..a65dbc2f 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -281,7 +281,7 @@ int checkpath(int argc, char **argv)
gid = gr->gr_gid;
#ifdef HAVE_SELINUX
- if (1 == selinux_util_open())
+ if (selinux_util_open() == 1)
selinux_on = true;
#endif