summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Debootstrap.hs
diff options
context:
space:
mode:
authorJoey Hess2014-12-07 15:07:03 -0400
committerJoey Hess2014-12-07 15:07:03 -0400
commitfaf4c21ca18bd551573eb56f4f86c16a23dd9806 (patch)
tree18ccf0ad32176c9cb606a8c13861131247683206 /src/Propellor/Property/Debootstrap.hs
parent322ae878bbaef94736fdc4cae60b6c3b8c17a54d (diff)
parent9ca332e48169ac19dad050a7f99e0db523d8d9c4 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/Debootstrap.hs')
-rw-r--r--src/Propellor/Property/Debootstrap.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Propellor/Property/Debootstrap.hs b/src/Propellor/Property/Debootstrap.hs
index b4fd2654..0181d58a 100644
--- a/src/Propellor/Property/Debootstrap.hs
+++ b/src/Propellor/Property/Debootstrap.hs
@@ -93,9 +93,8 @@ built' installprop target system@(System _ arch) config =
, return FailedChange
)
- teardownprop = property ("removed debootstrapped " ++ target) $ liftIO $ do
- removetarget
- return MadeChange
+ teardownprop = property ("removed debootstrapped " ++ target) $
+ makeChange removetarget
removetarget = do
submnts <- filter (\p -> simplifyPath p /= simplifyPath target)