diff --git a/src/entry.sh b/src/entry.sh index 15f798d..6c2a1b8 100755 --- a/src/entry.sh +++ b/src/entry.sh @@ -19,12 +19,12 @@ cd /run trap - ERR info "Booting $APP using $VERS..." +[[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo if [[ "$CONSOLE" == [Yy]* ]]; then exec qemu-system-x86_64 ${ARGS:+ $ARGS} fi -[[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo { qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || : (( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15