summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Reboot.hs
diff options
context:
space:
mode:
authorJoey Hess2016-06-13 18:56:52 -0400
committerJoey Hess2016-06-13 18:56:52 -0400
commit490249b919aaf82527b81c88c88350fd478dbed9 (patch)
tree1d136bb0f71bac53bdd64248bc9ab1387ee10b4b /src/Propellor/Property/Reboot.hs
parentb75ee60844fc56d361c5fac5a1038eebd33f26ba (diff)
add stopPropellorMessage
Diffstat (limited to 'src/Propellor/Property/Reboot.hs')
-rw-r--r--src/Propellor/Property/Reboot.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Reboot.hs b/src/Propellor/Property/Reboot.hs
index feb08694..161f2aee 100644
--- a/src/Propellor/Property/Reboot.hs
+++ b/src/Propellor/Property/Reboot.hs
@@ -86,7 +86,7 @@ toKernelNewerThan ver =
-- under a kernel version that's too old.
-- E.g. Sbuild.built can fail
-- to add the config line `union-type=overlay`
- else throwM $ StopPropellorException $
+ else stopPropellorMessage $
"kernel newer than "
++ ver
++ " not installed"