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

fix: Disable output buffering (#1141)

parent 97224006
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -33,8 +33,9 @@ terminal
( sleep 30; boot ) &
tail -fn +0 "$QEMU_LOG" 2>/dev/null &
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" | \
sed -e 's/\x1B\[[=0-9;]*[a-z]//gi' -e 's/failed to load Boot/skipped Boot/g' &
wait $! || :
sed -u -e 's/\x1B\[[=0-9;]*[a-z]//gi' \
-e 's/failed to load Boot/skipped Boot/g' \
-e 's/0): Not Found/0)/g' & wait $! || :

sleep 1 & wait $!
[ ! -f "$QEMU_END" ] && finish 0