From 21c845616778c108b9a438291d01755c651c9c84 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 16 Dec 2008 18:54:10 +0100 Subject: output cleanups --- src/core/libs/lib-blockdevices-filesystems.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 53ad10d..fad1171 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -546,7 +546,7 @@ rollback_filesystems () fi elif [ "$part_type" = lvm-vg ] #Can be in use for: lvm-lv then - if vgdisplay $part | grep -q 'VG Name' # workaround for non-existing lvm VG device files + if vgdisplay $part 2>/dev/null | grep -q 'VG Name' # workaround for non-existing lvm VG device files then open_lv=`vgdisplay -c $part 2>/dev/null | cut -d ':' -f6` if [ $open_lv -gt 0 ] -- cgit v1.2.3-54-g00ecf