Unverified Commit 970f8b2e authored by copilot-swe-agent[bot]'s avatar copilot-swe-agent[bot] Committed by GitHub
Browse files

Suppress "Killed" message on shutdown by redirecting wait stderr

parent 2e9e99f6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -37,7 +37,8 @@ else
  qemu-system-x86_64 ${ARGS:+ $ARGS} </dev/tty >/dev/tty &
fi

{ wait $! 2>/dev/null; rc=$?; } || rc=$?
rc=0
wait $! 2>/dev/null || rc=$?
[ -f "$QEMU_END" ] && exit "$rc"

sleep 1 & wait $!