Skip to content

Commit

Permalink
q-dev: default qubes app
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Oct 14, 2024
1 parent c097b6f commit 78f183d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubesadmin/tools/qvm_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ def get_parser(device_class=None):

def main(args=None, app=None):
"""Main routine of :program:`qvm-block`."""
app = app or qubesadmin.Qubes()

basename = os.path.basename(sys.argv[0])
devclass = None
if basename.startswith('qvm-') and basename != 'qvm-device':
Expand Down

0 comments on commit 78f183d

Please sign in to comment.