diff options
author | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-27 15:27:01 +0200 |
---|---|---|
committer | Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> | 2011-06-28 15:39:42 +0200 |
commit | e408a6177eadc6db5f64333cb6fb34c533f7f230 (patch) | |
tree | 001d08e6168aa4bdca05402e4f64c834ac744b6a /functions | |
parent | c4f66215ed3fc9dba67241feb404d271a689030c (diff) |
functions: Make activate_vgs return 0 if noop for consistency
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |