From 8c12047b6b6be67e086d60d79a95490598601a7a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 7 Dec 2014 14:49:12 -0400 Subject: simplify using makeChange --- src/Propellor/Property/Debootstrap.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Propellor/Property/Debootstrap.hs') 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) -- cgit v1.2.3