dom0/qvm-prefs: add missing exit(1)
This commit is contained in:
parent
40762c5497
commit
f54f851b42
@ -72,6 +72,7 @@ def do_list(vm):
|
|||||||
def set_label(vms, vm, args):
|
def set_label(vms, vm, args):
|
||||||
if len (args) != 1:
|
if len (args) != 1:
|
||||||
print >> sys.stderr, "Missing label name argument!"
|
print >> sys.stderr, "Missing label name argument!"
|
||||||
|
exit (1)
|
||||||
|
|
||||||
label = args[0]
|
label = args[0]
|
||||||
if label not in QubesVmLabels:
|
if label not in QubesVmLabels:
|
||||||
|
Loading…
Reference in New Issue
Block a user