Changeset 1716 for trunk/packages/invirt-remote-host/files
- Timestamp:
- Nov 18, 2008, 11:55:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote-host/files/usr/sbin/invirt-lvm
r1239 r1716 45 45 print >>sys.stderr, "Error removing LV %s\n" % lvname 46 46 sys.exit(1) 47 # I know this is the wrong answer, but sometimes the first 48 # lvchange -a n fails for no particularly good reason, so this is 49 # a pretty good workaround 50 call(["/sbin/lvchange", "-a", "n", lvpath]) 47 51 rv = call(["/sbin/lvchange", "-a", "n", lvpath]) 48 52 if rv != 0:
Note: See TracChangeset
for help on using the changeset viewer.