finished accidentially committed bit
This commit is contained in:
parent
4e9b01a8a7
commit
3c7219874b
|
@ -20,11 +20,8 @@ atEnd force resultok = property "scheduled reboot at end of propellor run" $ do
|
|||
return NoChange
|
||||
where
|
||||
atend r
|
||||
| resultok r = liftIO $
|
||||
ifM (boolSystem "reboot" rebootparams)
|
||||
( return MadeChange
|
||||
, return FailedChange
|
||||
)
|
||||
| resultok r = liftIO $ toResult
|
||||
<$> boolSystem "reboot" rebootparams
|
||||
| otherwise = do
|
||||
warningMessage "Not rebooting, due to status of propellor run."
|
||||
return FailedChange
|
||||
|
|
Loading…
Reference in New Issue