mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-19 12:44:32 +00:00
libsemanage: genhomedircon: remove duplicated test condition
Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
aa115d00ff
commit
58fb53bc2b
@ -246,7 +246,7 @@ static int fcontext_matches(const semanage_fcontext_t *fcontext, void *varg)
|
|||||||
|
|
||||||
/* Only match ALL or DIR */
|
/* Only match ALL or DIR */
|
||||||
type = semanage_fcontext_get_type(fcontext);
|
type = semanage_fcontext_get_type(fcontext);
|
||||||
if (type != SEMANAGE_FCONTEXT_ALL && type != SEMANAGE_FCONTEXT_ALL)
|
if (type != SEMANAGE_FCONTEXT_ALL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
len = strlen(oexpr);
|
len = strlen(oexpr);
|
||||||
|
Loading…
Reference in New Issue
Block a user