commit:     d38cc8f2210e839c4935208917138e4809ece758
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Mar 25 04:17:35 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Mar 25 04:18:15 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d38cc8f2

checkpath: fix warning about selinux_on being unused

 src/rc/checkpath.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 87115a4..034cb4d 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -164,10 +164,8 @@ static int do_check(char *path, uid_t uid, gid_t gid, 
mode_t mode,
                }
        }
 
-#ifdef HAVE_SELINUX
        if (selinux_on)
                selinux_util_label(path);
-#endif
 
        return 0;
 }

Reply via email to