dom0/qvm-prefs: add missing exit(1)

This commit is contained in:
Marek Marczykowski 2012-02-26 00:12:54 +01:00
parent 40762c5497
commit f54f851b42

View File

@ -72,6 +72,7 @@ def do_list(vm):
def set_label(vms, vm, args):
if len (args) != 1:
print >> sys.stderr, "Missing label name argument!"
exit (1)
label = args[0]
if label not in QubesVmLabels: