Merge branch 'joeyconfig'
This commit is contained in:
commit
9841594c85
|
@ -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