diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-03-18 20:16:40 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-03-18 20:16:40 -0400 |
| commit | b402430cf24ae71c178731a0241f89cc7d1b3e98 (patch) | |
| tree | 93fa23326b9cb03afbd168198a477d4415675c69 | |
| parent | 18344c44c4e91a9dfd8ce6aebc3821c460cdfec9 (diff) | |
more old ghc fixes
| -rw-r--r-- | src/Propellor/Property/List.hs | 2 |
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) |
