8 Jun
2012
8 Jun
'12
2:58 p.m.
This is a deprecated path in sysfs, and the check is illogical. Signed-off-by: Dave Reisner <dreisner@archlinux.org> --- rc.shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.shutdown b/rc.shutdown index 78f56c4..c708b92 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -71,7 +71,7 @@ if [[ -f /etc/crypttab ]] && type -p cryptsetup >/dev/null; then stat_done fi -[[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]] && +[[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) ]] && status "Deactivating LVM2 groups" vgchange --sysinit -a n &>/dev/null run_hook shutdown_poweroff -- 1.7.10.4