From cf063a963888b4656e627cc045180c2f227947d8 Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Mon, 26 Feb 2018 04:10:05 +0000 Subject: [PATCH] qvm-backup-restore: also handle absent --ignore-missing This was forgotten in 2d8bade. --- qubesadmin/tools/qvm_backup_restore.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qubesadmin/tools/qvm_backup_restore.py b/qubesadmin/tools/qvm_backup_restore.py index 80898a2..d083019 100644 --- a/qubesadmin/tools/qvm_backup_restore.py +++ b/qubesadmin/tools/qvm_backup_restore.py @@ -220,9 +220,8 @@ def main(args=None, app=None): # unreachable - error_runtime will raise SystemExit return 1 - if args.ignore_missing: - backup.options.use_default_template = True - backup.options.use_default_netvm = True + backup.options.use_default_template = args.ignore_missing + backup.options.use_default_netvm = args.ignore_missing backup.options.rename_conflicting = args.rename_conflicting backup.options.dom0_home = args.dom0_home backup.options.ignore_username_mismatch = args.ignore_username_mismatch