summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/Libvirt.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Libvirt.hs b/src/Propellor/Property/Libvirt.hs
index eb586df6..85abe4e3 100644
--- a/src/Propellor/Property/Libvirt.hs
+++ b/src/Propellor/Property/Libvirt.hs
@@ -94,7 +94,7 @@ kvmDefined imageType mem cpus auto h =
(setupRevertableProperty $ imageBuiltFor h
(image) (Debootstrapped mempty))
nuked :: Property UnixLike
- nuked = check (not <$> doesDirectoryExist (imageLoc <.> "chroot"))
+ nuked = check (doesDirectoryExist (imageLoc <.> "chroot"))
(property "destroy the chroot used to build the image" $ do
liftIO $ removeChroot (imageLoc <.> "chroot")
liftIO $ nukeFile (imageLoc <.> "parttable")