From 050cb10bd5f4f2460b17ba11f22c9fed0bdea56c Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Thu, 27 Mar 2014 04:47:51 +0000 Subject: [PATCH] fix error in is_true test added -t nodevtmpfs to umount in rc.shutdown to avoid error in unmounting filesystems --- scripts/rc.shutdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rc.shutdown b/scripts/rc.shutdown index 83b9d52..18915e1 100644 --- a/scripts/rc.shutdown +++ b/scripts/rc.shutdown @@ -55,7 +55,7 @@ done # write to wtmp halt -w -if [ is_true "$USELVM" ] && [ -x /sbin/vgchange ]; then +if is_true "$USELVM" && [ -x /sbin/vgchange ]; then status_begin "Deactivating monitoring of LVM2 groups" /sbin/vgchange --monitor n status_check @@ -78,7 +78,7 @@ swapoff -a status_check status_begin "Unmounting non-API filesystems" -umount -a +umount -a -t nodevtmpfs status_check status_begin "Remounting root filesystem read-only" -- 2.40.0