1
0
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:
Alasdair Kergon 2004-04-14 18:10:10 +00:00
parent 0a62c911d1
commit 627f730e18

View File

@ -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;
}