diff options
| author | Zihao Wang <dev@wzhd.org> | 2017-02-03 19:06:31 +0800 |
|---|---|---|
| committer | Zihao Wang <dev@wzhd.org> | 2017-02-04 09:04:56 +0800 |
| commit | 6995241840c72ad966494a780a65dd5076f2898a (patch) | |
| tree | 3c3995f8f4abb424d8fb6419d6b1294f4a8426be /src | |
| parent | 93e93de20f29521c399a19bfeec1b359c1dadae9 (diff) | |
add tightenTargets
probably because of "now :: Property Linux"
Signed-off-by: Zihao Wang <dev@wzhd.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Reboot.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Reboot.hs b/src/Propellor/Property/Reboot.hs index 31731dc2..3781cd7b 100644 --- a/src/Propellor/Property/Reboot.hs +++ b/src/Propellor/Property/Reboot.hs @@ -59,7 +59,7 @@ atEnd force resultok = property "scheduled reboot at end of propellor run" $ do -- See 'Propellor.Property.HostingProvider.DigitalOcean' -- for an example of how to do this. toDistroKernel :: Property DebianLike -toDistroKernel = check (not <$> runningInstalledKernel) now +toDistroKernel = tightenTargets $ check (not <$> runningInstalledKernel) now `describe` "running installed kernel" -- | Given a kernel version string @v@, reboots immediately if the running |
