From a4f4ffb0a47b80b84731c083d4edb8b40830a79e Mon Sep 17 00:00:00 2001 From: Dmitry Badovsky Date: Sat, 1 Nov 2025 11:55:41 +0000 Subject: [PATCH] Update gfxcreate.sh --- gfxcreate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfxcreate.sh b/gfxcreate.sh index f2c89b8..0d58434 100644 --- a/gfxcreate.sh +++ b/gfxcreate.sh @@ -20,7 +20,7 @@ if $remove; then do ip=$(echo $line | cut -d ';' -f 1) vmid=$(echo $ip | cut -d '.' -f 3,4 | sed 's/\.// ') - until [[ (qm status $vmid | cut -d ' ' -f 2) -ne "stopped" ]] + until [[ $(qm status $vmid | cut -d ' ' -f 2) -ne "stopped" ]] do echo "Waiting for VM $vmid become stopped..." sleep 1