summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
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