mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-23 21:35:29 +03:00
Missing #elif HAVE_SELINUX
This commit is contained in:
parent
bb37f26bbf
commit
b3032f918e
@ -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