mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 16:49:30 +01:00
fix: Timeout comparison operator (#1155)
This commit is contained in:
1 parent
342ca4da03
commit
6eadd1b953
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user