projects
/
invirt/packages/invirt-remote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b859940
)
Fix-up several packages to include the correct Conflicts and Replaces
author
Evan Broder
<broder@mit.edu>
Mon, 26 Jan 2009 01:09:03 +0000
(20:09 -0500)
committer
Evan Broder
<broder@mit.edu>
Mon, 26 Jan 2009 01:09:03 +0000
(20:09 -0500)
lines for config-package-dev
svn path=/trunk/packages/invirt-remote/; revision=1989
host/usr/sbin/invirt-lvm
patch
|
blob
|
history
diff --git
a/host/usr/sbin/invirt-lvm
b/host/usr/sbin/invirt-lvm
index
22a7805
..
78ce700
100755
(executable)
--- 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])