From: Evan Broder Date: Mon, 26 Jan 2009 01:09:03 +0000 (-0500) Subject: Fix-up several packages to include the correct Conflicts and Replaces X-Git-Tag: 0.3.1~3 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/commitdiff_plain/224c87aea0e899e313cb9bb6f62221d8a9fcab7e?hp=b85994069b91eeae234d8135d4a9ec1d8c5c3a3d Fix-up several packages to include the correct Conflicts and Replaces lines for config-package-dev svn path=/trunk/packages/invirt-remote/; revision=1989 --- diff --git a/host/usr/sbin/invirt-lvm b/host/usr/sbin/invirt-lvm index 22a7805..78ce700 100755 --- a/host/usr/sbin/invirt-lvm +++ b/host/usr/sbin/invirt-lvm @@ -67,7 +67,7 @@ if subcommand == "lvremove": # it. There's not really anything sane to do with errors (since # 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]) call(["/sbin/lvchange", "-a", "ey", new_lvpath])