From 9cf273d187f513ae3a6b55ff8c060a9d85714400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 21 Oct 2019 03:47:39 +0200 Subject: [PATCH] qubes-dom0-update: fix removing backup template after the operation qvm-remove got confirmation prompt, add -f to avoid it. --- dom0-updates/qubes-dom0-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index b4b50ec..5c85e98 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -233,7 +233,7 @@ if [ ${#PKGS[@]} -gt 0 ]; then # Remove backup, if we made one. Better to do this only on success and # potentially leave extra backups around than do it on an exit trap and # clean up more reliably but potentially brick a system. - qvm-remove -- "$TEMPLATE_BACKUP" + qvm-remove -f -- "$TEMPLATE_BACKUP" fi if [ -n "$TEMPLATE" -a -n "$TEMPLATE_NETVM" -a x"$TEMPLATE_NETVM" != xNone ]; then