From fd7ec2f1fb9cbca02a37aedc097fadd4932463e5 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 1 Aug 2009 22:30:10 +0200 Subject: small optimisation --- src/core/libs/lib-blockdevices-filesystems.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index 8d038a6..cf6739a 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -543,7 +543,7 @@ rollback_filesystems () fi fi fi - done < <(sort -t \ -k 6 $TMP_FILESYSTEMS | tac) + done < <(sort -t \ -k 6 -r $TMP_FILESYSTEMS) # phase 2: destruct blockdevices listed in $BLOCK_DATA if they would exist already, in the correct order (first lvm LV, then VG, then PV etc) -- cgit v1.2.3-54-g00ecf