summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-16 18:54:10 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-16 18:54:10 +0100
commit21c845616778c108b9a438291d01755c651c9c84 (patch)
treeaaaf90f4803479f350589980e9c38d7eb60fecc8 /src
parent66b30435b8bcbdbcdc093556c4e1ef1c1e33fb00 (diff)
output cleanups
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh2
1 files changed, 1 insertions, 1 deletions
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 ]