summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-08-01 22:30:10 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-08-01 22:30:10 +0200
commitfd7ec2f1fb9cbca02a37aedc097fadd4932463e5 (patch)
tree44ae4f84c4e68fb0ad5f4d900ea74820d9b0920c
parent44bc9f54734d9280c71959e56189044141bc1640 (diff)
small optimisation
-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 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)