From 9cbb51cc867531192f9d2a0f9ca983ede3215635 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 23 Jan 2024 19:29:07 +0100 Subject: [PATCH] feat: Display QEMU version (#593) --- src/entry.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/entry.sh b/src/entry.sh index be29d5d..15f798d 100755 --- a/src/entry.sh +++ b/src/entry.sh @@ -18,11 +18,13 @@ cd /run trap - ERR +info "Booting $APP using $VERS..." + if [[ "$CONSOLE" == [Yy]* ]]; then exec qemu-system-x86_64 ${ARGS:+ $ARGS} fi -[[ "$DEBUG" == [Yy1]* ]] && info "$VERS" && echo "Arguments: $ARGS" && echo +[[ "$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