aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-03-24 23:17:35 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-03-24 23:18:15 -0500
commitd38cc8f2210e839c4935208917138e4809ece758 (patch)
tree7fe59a9e2b2a425ad46e83d2a0e57c27b4360b68 /src/rc
parentf085ae400c60289f61d99e9e80ce037beedf38b4 (diff)
checkpath: fix warning about selinux_on being unused
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/checkpath.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 87115a4b..034cb4d2 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;
}