From 164a4dc8e09c586e92d739222b0c93a6a4c5567c Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Thu, 23 Jul 2020 23:09:41 -0500 Subject: [PATCH] Refresh sudo before shutdown --- vm | 1 + 1 file changed, 1 insertion(+) diff --git a/vm b/vm index 89eefb1..e900df7 100755 --- a/vm +++ b/vm @@ -10,6 +10,7 @@ looking-glass-client -s no -K 120 -d yes -g egl -a -M no egl:vsync yes & while [ "$command" != "stop" ]; do read command done +sudo whoami echo "Stopping VM..." #stop virsh --connect=qemu:///system shutdown win10