mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fix selinux error mesg
This commit is contained in:
parent
0a62c911d1
commit
627f730e18
@ -180,7 +180,7 @@ static int _mk_link(const char *dev_dir, const char *vg_name,
|
||||
}
|
||||
|
||||
#ifdef HAVE_SELINUX
|
||||
if (set_selinux_context(lv_path)) {
|
||||
if (!set_selinux_context(lv_path)) {
|
||||
log_sys_error("set_selinux_context", lv_path);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user