diff options
| author | Joey Hess <id@joeyh.name> | 2014-12-06 13:21:19 -0400 |
|---|---|---|
| committer | Joey Hess <id@joeyh.name> | 2014-12-06 13:21:19 -0400 |
| commit | 29442f222ec2342c6dea7036e80e15eefa4158c0 (patch) | |
| tree | f29929e1d14f7aa8a7e8c662fcad237a3b7e143e /src/Propellor/Property.hs | |
| parent | 62697c7b7f7ba2d39bfad632f1cf720c9805bdd2 (diff) | |
Reboot.atEnd
Diffstat (limited to 'src/Propellor/Property.hs')
| -rw-r--r-- | src/Propellor/Property.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property.hs b/src/Propellor/Property.hs index 1533471e..6371cc09 100644 --- a/src/Propellor/Property.hs +++ b/src/Propellor/Property.hs @@ -149,6 +149,5 @@ noChange :: Propellor Result noChange = return NoChange -- | Registers an action that should be run at the very end, --- and only when all configured Properties of the host succeed. -endAction :: Desc -> Propellor Result -> Propellor () +endAction :: Desc -> (Result -> Propellor Result) -> Propellor () endAction desc a = tell [EndAction desc a] |
