summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/DiskImage.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-23 13:06:38 -0400
committerJoey Hess2015-10-23 13:06:38 -0400
commita6790167e9ee14d818a88e3f8164cfd7608ec2d5 (patch)
treecbba21555b4c6c587010276038dbc1a1e26b11ad /src/Propellor/Property/DiskImage.hs
parent65612072748cef8c2deddc17aa3d49a9b5ceabf2 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/DiskImage.hs')
-rw-r--r--src/Propellor/Property/DiskImage.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/DiskImage.hs b/src/Propellor/Property/DiskImage.hs
index 97880cf4..c8b9ffa1 100644
--- a/src/Propellor/Property/DiskImage.hs
+++ b/src/Propellor/Property/DiskImage.hs
@@ -160,7 +160,7 @@ partitionsPopulated chrootdir mnts devs = property desc $ mconcat $ zipWith go m
[ Include (Pattern m)
, Exclude (filesUnder m)
-- Preserve any lost+found directory that mkfs made
- , Exclude (Pattern "lost+found")
+ , Protect (Pattern "lost+found")
]) childmnts
-- | Ensures that a disk image file of the specified size exists.