Skip to content

Commit

Permalink
qvm-start-daemon: check for dom0
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Apr 23, 2024
1 parent e54c032 commit 9637991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qubesadmin/tools/qvm_start_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,10 +820,11 @@ def main():
if os.path.exists(f'/var/run/qubes-service/{service}')
]

if "--force" in sys.argv:
if "--force" in sys.argv or os.path.exists("/etc/qubes-release"):
enabled_services = only_if_service_enabled

if not enabled_services:
log.info("None of 'audiovm' nor 'guivm' service is enabled")
log.info(parser.format_help())
return

Expand Down

0 comments on commit 9637991

Please sign in to comment.