summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Mount.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Mount.hs')
-rw-r--r--src/Propellor/Property/Mount.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Mount.hs b/src/Propellor/Property/Mount.hs
index e8f3f092..71f1733e 100644
--- a/src/Propellor/Property/Mount.hs
+++ b/src/Propellor/Property/Mount.hs
@@ -151,4 +151,4 @@ unmountBelow d = do
submnts <- mountPointsBelow d
-- sort so sub-mounts are unmounted before the mount point
-- containing them
- forM_ (sort submnts) umountLazy
+ forM_ (reverse (sort submnts)) umountLazy