summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Mount.hs
diff options
context:
space:
mode:
authorJoey Hess2017-12-20 19:26:17 -0400
committerJoey Hess2017-12-20 19:26:17 -0400
commit866bad5cf0474dc296245aea7ab645868db37cba (patch)
treecb3477fdf65b376249d6cc0d57ff740be8543ea2 /src/Propellor/Property/Mount.hs
parent76fe0b4dd6e50107f4463512556e11e09f56bc9f (diff)
got the order backwards..
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