dom0/qvm-remove: with --just-db do not remove any files

This commit is contained in:
Marek Marczykowski 2012-03-06 14:46:36 +01:00
parent 1b1c48666f
commit a63e130ffb

View File

@ -84,7 +84,7 @@ def main():
if vm.installed_by_rpm:
if options.verbose:
print >> sys.stderr, "--> VM installed by RPM, leaving all the files on disk"
else:
elif not options.remove_from_db_only:
if options.verbose:
print "--> Removing all the files on disk..."
#TODO: ask for confirmation, perhaps?