Index: /trunk/packages/invirt-remote/host/usr/sbin/invirt-lvm
===================================================================
--- /trunk/packages/invirt-remote/host/usr/sbin/invirt-lvm	(revision 1989)
+++ /trunk/packages/invirt-remote/host/usr/sbin/invirt-lvm	(revision 1990)
@@ -68,5 +68,5 @@
     # this is running non-interactively), so let's just drop them on
     # the floor for now.
-    if os.fork() != 0:
+    if os.fork() == 0:
         call(["/bin/dd", "if=/dev/zero", "of=%s" % new_lvpath])
         call(["/sbin/lvchange", "-a", "n", new_lvpath])
