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