mirror of
https://github.com/dockur/windows.git
synced 2026-06-11 15:07:19 +01:00
fix: Local variable declaration (#1736)
This commit is contained in:
+1
-1
@@ -97,7 +97,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
|
||||
|
||||
Reference in New Issue
Block a user