From 5c7d06b46e88f30b72813b39710bb659620f395d Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Wed, 6 May 2020 14:46:13 +0000 Subject: [PATCH] qvm-run-vm: add +WaitForSession for modern @dispvm syntax too --- qubes-rpc/qvm-run-vm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qubes-rpc/qvm-run-vm b/qubes-rpc/qvm-run-vm index 710d2bb..0270818 100755 --- a/qubes-rpc/qvm-run-vm +++ b/qubes-rpc/qvm-run-vm @@ -31,7 +31,8 @@ this tool does not propagate standard error or exit codes, nor does it offer protection against the remote VM messing with your terminal if standard output is your terminal. -You can use \$dispvm or --dispvm instead of vmname to start a new DisposableVM. +You can use @dispvm or \$dispvm or --dispvm instead of vmname to start a new +DisposableVM. USAGE } @@ -51,7 +52,7 @@ elif [ "$VMNAME" = "" ] ; then fi service="qubes.VMShell" -case "$VMNAME" in \$dispvm|\$dispvm:*) +case "$VMNAME" in [@$]dispvm|[@$]dispvm:*) service="$service+WaitForSession" esac