finished accidentially committed bit

This commit is contained in:
Joey Hess 2014-12-08 01:07:31 -04:00
parent 4e9b01a8a7
commit 3c7219874b
1 changed files with 2 additions and 5 deletions

View File

@ -20,11 +20,8 @@ atEnd force resultok = property "scheduled reboot at end of propellor run" $ do
return NoChange return NoChange
where where
atend r atend r
| resultok r = liftIO $ | resultok r = liftIO $ toResult
ifM (boolSystem "reboot" rebootparams) <$> boolSystem "reboot" rebootparams
( return MadeChange
, return FailedChange
)
| otherwise = do | otherwise = do
warningMessage "Not rebooting, due to status of propellor run." warningMessage "Not rebooting, due to status of propellor run."
return FailedChange return FailedChange