From 6eadd1b95358da51c3fba35a851e9ba192e9634c Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 17 May 2026 13:01:57 +0200 Subject: [PATCH] fix: Timeout comparison operator (#1155) --- src/power.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/power.sh b/src/power.sh index b8f767d..0195c08 100644 --- a/src/power.sh +++ b/src/power.sh @@ -50,7 +50,7 @@ finish() { # Workaround for zombie pid [ ! -s "$QEMU_PID" ] && break - if [ "$cnt" == "5" ]; then + if [ "$cnt" -eq 5 ]; then echo && error "QEMU did not terminate itself, forcefully killing process..." { kill -9 "$pid" || true; } 2>/dev/null fi