Unverified Commit 73106fd0 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Check for zombie process

parent 04874bd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,6 +53,6 @@ set -m
set +m

# Since we started the QEMU process with -m, we need to poll if it's still running
while [ -d "/proc/$(cat ${_QEMU_PID})"  ]; do
while s=`ps -p "$(cat ${_QEMU_PID})" -o s=` && [[ "$s" && "$s" != 'Z' ]]; do
  sleep 1
done