commit:     275714bdc74c363ca1612b2b6b97f74f7a62b50c
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jul 25 16:04:57 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jul 25 16:04:57 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=275714bd

checkpath: style fix

---
 src/rc/checkpath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index ecd845f..a65dbc2 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
 

Reply via email to