mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Missing #elif HAVE_SELINUX
This commit is contained in:
parent
dd1f2c0959
commit
c0920fbf2a
@ -401,7 +401,7 @@ static int _selabel_lookup(const char *path, mode_t mode,
|
|||||||
log_error("selabel_lookup failed: %s", strerror(errno));
|
log_error("selabel_lookup failed: %s", strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#else
|
#elif HAVE_SELINUX
|
||||||
if (matchpathcon(path, mode, scontext)) {
|
if (matchpathcon(path, mode, scontext)) {
|
||||||
log_error("matchpathcon failed: %s", strerror(errno));
|
log_error("matchpathcon failed: %s", strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user