Fix error messages printed on terminal after quickemu exits

- Fix #1130
This commit is contained in:
Jai A P 2024-05-02 14:33:35 +05:30 committed by Martin Wimpress
parent 0da48d73b0
commit fedfe11190
1 changed files with 2 additions and 2 deletions

View File

@ -1316,9 +1316,9 @@ function vm_boot() {
case "${OUTPUT}" in case "${OUTPUT}" in
sdl) export SDL_MOUSE_FOCUS_CLICKTHROUGH=1;; sdl) export SDL_MOUSE_FOCUS_CLICKTHROUGH=1;;
esac esac
echo "${QEMU}" "${SHELL_ARGS}" >> "${VMDIR}/${VMNAME}.sh" echo "${QEMU}" "${SHELL_ARGS}" "2>/dev/null" >> "${VMDIR}/${VMNAME}.sh"
sed -i -e 's/ -/ \\\n -/g' "${VMDIR}/${VMNAME}.sh" sed -i -e 's/ -/ \\\n -/g' "${VMDIR}/${VMNAME}.sh"
${QEMU} "${args[@]}" > "${VMDIR}/${VMNAME}.log" & ${QEMU} "${args[@]}" &> "${VMDIR}/${VMNAME}.log" &
sleep 0.25 sleep 0.25
fi fi