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

fix: Disable PTY mode (#422)

parent bdc15ac2
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -32,11 +32,7 @@ info "Booting ${APP}${BOOT_DESC} using QEMU v$version..."

[[ "$SHUTDOWN" != [Yy1]* ]] && exec qemu-system-x86_64 ${ARGS:+ $ARGS}

if [ ! -t 1 ] || [ ! -c /dev/tty ]; then
qemu-system-x86_64 ${ARGS:+ $ARGS} &
else
  qemu-system-x86_64 ${ARGS:+ $ARGS} </dev/tty >/dev/tty &
fi

rc=0
wait $! || rc=$?