From 95ddf19dcca3af515c6cd0cd43c2540e2d7f075a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Sat, 11 May 2019 11:59:56 +0200 Subject: [PATCH] admin.vm.Console: fix error message on management dispvm --- qvm-tools/qvm-console-dispvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvm-tools/qvm-console-dispvm b/qvm-tools/qvm-console-dispvm index 61c5bb10..6b792c37 100755 --- a/qvm-tools/qvm-console-dispvm +++ b/qvm-tools/qvm-console-dispvm @@ -17,6 +17,6 @@ qvm-check --quiet --running "$QREXEC_REQUESTED_TARGET" > /dev/null 2>&1 || { ech DISPVM="$(qvm-prefs "$QREXEC_REQUESTED_TARGET" management_dispvm)" -[[ "x$DISPVM" == "x" ]] && { echo "Error: cannot determine default DispVM to use"; exit 1; } +[[ "x$DISPVM" == "x" ]] && { echo "Error: cannot determine management DispVM to use"; exit 1; } sudo qvm-run -p --localcmd="QREXEC_REQUESTED_TARGET=$QREXEC_REQUESTED_TARGET /etc/qubes-rpc/admin.vm.Console" --service --dispvm="$DISPVM" -- qubes.ShowInTerminal