From 2a62d4e938a5a038d56ff5efbc541050b69f47a8 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 23 Jan 2024 19:32:15 +0100 Subject: [PATCH] feat: Display console arguments (#594) --- src/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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