From 490249b919aaf82527b81c88c88350fd478dbed9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Jun 2016 18:56:52 -0400 Subject: add stopPropellorMessage --- src/Propellor/Property/Reboot.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property') 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" -- cgit v1.2.3