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
|
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
|
||||||
|
|
Loading…
Reference in New Issue