From e408a6177eadc6db5f64333cb6fb34c533f7f230 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Mon, 27 Jun 2011 15:27:01 +0200 Subject: functions: Make activate_vgs return 0 if noop for consistency --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') diff --git a/functions b/functions index 861fcbe..2eb4f72 100644 --- a/functions +++ b/functions @@ -324,7 +324,7 @@ udevd_modprobe() { } activate_vgs() { - [[ $USELVM = [yY][eE][sS] && -x $(type -P lvm) && -d /sys/block ]] || return + [[ $USELVM = [yY][eE][sS] && -x $(type -P lvm) && -d /sys/block ]] || return 0 # Kernel 2.6.x, LVM2 groups stat_busy "Activating LVM2 groups" /sbin/modprobe -q dm-mod 2>/dev/null -- cgit v1.2.3