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