checkpath: fix warning about selinux_on being unused

This commit is contained in:
William Hubbs 2015-03-24 23:17:35 -05:00
parent f085ae400c
commit d38cc8f221

View File

@ -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) if (selinux_on)
selinux_util_label(path); selinux_util_label(path);
#endif
return 0; return 0;
} }