checkpath: fix warning about selinux_on being unused
This commit is contained in:
parent
f085ae400c
commit
d38cc8f221
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user