From 627f730e18629723d34e686c4711be9db4bfb72b Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 14 Apr 2004 18:10:10 +0000 Subject: [PATCH] fix selinux error mesg --- lib/activate/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/activate/fs.c b/lib/activate/fs.c index 61c5043fd..ffeff09aa 100644 --- a/lib/activate/fs.c +++ b/lib/activate/fs.c @@ -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; }