summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/List.hs
diff options
context:
space:
mode:
authorJoey Hess2017-03-18 20:16:40 -0400
committerJoey Hess2017-03-18 20:16:40 -0400
commitb402430cf24ae71c178731a0241f89cc7d1b3e98 (patch)
tree93fa23326b9cb03afbd168198a477d4415675c69 /src/Propellor/Property/List.hs
parent18344c44c4e91a9dfd8ce6aebc3821c460cdfec9 (diff)
more old ghc fixes
Diffstat (limited to 'src/Propellor/Property/List.hs')
-rw-r--r--src/Propellor/Property/List.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/List.hs b/src/Propellor/Property/List.hs
index 11d201b1..568de00b 100644
--- a/src/Propellor/Property/List.hs
+++ b/src/Propellor/Property/List.hs
@@ -53,7 +53,7 @@ combineProperties desc (Props ps) =
combineSatisfy :: [ChildProperty] -> Result -> Propellor Result
combineSatisfy [] rs = return rs
combineSatisfy (p:ps) rs = do
- r <- maybe (pure NoChange) catchPropellor (getSatisfy p)
+ r <- maybe (return NoChange) catchPropellor (getSatisfy p)
case r of
FailedChange -> return FailedChange
_ -> combineSatisfy ps (r <> rs)