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

Update entry.sh

parent 6cc4cd0e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -37,7 +37,12 @@ else
   qemu-system-x86_64 ${ARGS:+ $ARGS} </dev/tty >/dev/tty &
fi
 
wait $!
rc=0
wait $! || rc=$?
sleep 1 & wait $!

if [ "$rc" -ne 0 ]; then
  warn "QEMU exitcode was: $rc"
fi

[ ! -f "$QEMU_END" ] && finish 0