aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 9d735fdf..5c8f8c01 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -384,7 +384,9 @@ if [ -x /sbin/lvm.static ]; then
echo "mkdmnod" | /sbin/nash --quiet >/dev/null 2>&1
[ -n "$SELINUX" ] && restorecon /dev/mapper/control
if [ -e /dev/mapper/control -a -x /sbin/lvm.static ]; then
- action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan && /sbin/lvm.static vgchange -a y && /sbin/lvm vgmknodes
+ if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then
+ action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y && /sbin/lvm vgmknodes
+ fi
fi
fi
# LVM initialization