[arch-projects] [initscripts] [PATCH 10/18] activate_vgs: return 0 if noop for consistency
Kurt J. Bosch
kjb-temp-2009 at alpenjodel.de
Mon Jun 27 13:11:16 EDT 2011
---
functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/functions b/functions
index e879d30..e30fcf0 100644
--- a/functions
+++ b/functions
@@ -334,7 +334,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
stat_busy "Activating LVM2 groups"
# Kernel 2.6.x, LVM2 groups
/sbin/modprobe -q dm-mod 2>/dev/null
--
1.7.1
More information about the arch-projects
mailing list