Skip to content

Commit

Permalink
tools/qvm-backup-restore: fix default list of VMs to restore
Browse files Browse the repository at this point in the history
By default restore all of them, not only the ones named "[" or "]"
(which are invalid name).

Fixes QubesOS/qubes-issues#2924
  • Loading branch information
marmarek committed Jul 19, 2017
1 parent 6f1c7c2 commit c736395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesadmin/tools/qvm_backup_restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
parser.add_argument('backup_location', action='store',
help="Backup directory name, or command to pipe from")

parser.add_argument('vms', nargs='*', action='store', default='[]',
parser.add_argument('vms', nargs='*', action='store', default=[],
help='Restore only those VMs')


Expand Down

0 comments on commit c736395

Please sign in to comment.