Prevent the janitor from trying to clean up nonexistent LVs.
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-lvm
index a042f0e..cae6b2b 100755 (executable)
@@ -22,7 +22,7 @@ def ensureoff(machine):
     rv = call(["/usr/sbin/xm", "destroy", prefix + machine],
               stderr=PIPE)
 
-machine_specific = subcommand not in ['lvcreate-all', 'vgcapacity']:
+machine_specific = subcommand not in ['lvcreate-all', 'vgcapacity']
 
 if machine_specific:
     machine = sys.argv[2]