diff --git a/qubesadmin/tools/qvm_start.py b/qubesadmin/tools/qvm_start.py index 128364a..24611f4 100644 --- a/qubesadmin/tools/qvm_start.py +++ b/qubesadmin/tools/qvm_start.py @@ -149,6 +149,10 @@ def main(args=None, app=None): for domain in args.domains: if args.skip_if_running and domain.is_running(): continue + elif domain.is_running(): + exit_code = 1 + parser.print_error("domain is already running") + return exit_code drive_assignment = None try: if args.drive: