From: Alexander Chernyakhovsky Date: Mon, 22 Jul 2013 07:23:05 +0000 (-0400) Subject: Fix a typo X-Git-Tag: 0.4.20^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/commitdiff_plain/75bb8ce8b6cd846e32494520db31c73121a14f91 Fix a typo --- diff --git a/debian/changelog b/debian/changelog index 5408670..470c551 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-remote (0.4.20) precise; urgency=low + + * Fix a typo. + + -- Alexander Chernyakhovsky Mon, 22 Jul 2013 03:22:48 -0400 + invirt-remote (0.4.19) precise; urgency=low * New (c)lvm requires that an LV be deactivated before renamed or resized. diff --git a/host/usr/sbin/invirt-lvm b/host/usr/sbin/invirt-lvm index 58e6c1c..a5b15e0 100755 --- a/host/usr/sbin/invirt-lvm +++ b/host/usr/sbin/invirt-lvm @@ -59,7 +59,7 @@ elif subcommand == "lvremove": # Rename the LV to something else so we can wipe it before reusing # the space if lvm_activation(lvpath, 'n') != 0: - print >>sys.stderr, "Could not deactivate LV %s", % (lvname,) + print >>sys.stderr, "Could not deactivate LV %s" % (lvname,) sys.exit(1) while True: new_lvname = "old_%s_%s" % (lvname, ''.join(random.choice(string.ascii_letters) for i in xrange(6))) @@ -84,7 +84,7 @@ elif subcommand == "lvresize": size = sys.argv[4] ensureoff(machine) if lvm_activation(lvpath, 'n') != 0: - print >>sys.stderr, "Could not deactivate LV %s", % (lvname,) + print >>sys.stderr, "Could not deactivate LV %s" % (lvname,) sys.exit(1) p = Popen(["/sbin/lvresize", "-L", size + "M", lvpath], stdin=PIPE, stderr=PIPE) @@ -106,7 +106,7 @@ elif subcommand == "lvrename": lvpath = "/dev/" + vg + "/" + lvname new_lvpath = "/dev/" + vg + "/" + newlvname if lvm_activation(lvpath, 'n') != 0: - print >>sys.stderr, "Could not deactivate LV %s", % (lvname,) + print >>sys.stderr, "Could not deactivate LV %s" % (lvname,) sys.exit(1) rv = call(["/sbin/lvrename", vg, lvname, newlvname]) if rv != 0: