diff --git a/Meta/run.sh b/Meta/run.sh index a2b366dc78..0115adc726 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -351,7 +351,7 @@ $SERENITY_SPICE_SERVER_CHARDEV " if [ "$SERENITY_ARCH" != "aarch64" ]; then - if "${SERENITY_QEMU_BIN}" -chardev help | grep -iq spice; then + if [ "${SERENITY_SPICE}" ] && "${SERENITY_QEMU_BIN}" -chardev help | grep -iq spice; then SERENITY_COMMON_QEMU_ARGS="$SERENITY_COMMON_QEMU_ARGS -spice port=5930,agent-mouse=off,disable-ticketing=on "