feat: Improve error handling (#1936)

This commit is contained in:
Kroese
2026-07-21 21:53:21 +02:00
committed by GitHub
parent 958d25d095
commit 48150e7060
3 changed files with 37 additions and 10 deletions
+7 -1
View File
@@ -34,7 +34,13 @@ boot() {
if [ -s "$QEMU_PTY" ]; then
if [ "$(stat -c%s "$QEMU_PTY")" -gt 7 ]; then
if ! bootFailed; then
info "$(app) started successfully, visit http://127.0.0.1:8006/ to view the screen..."
if [[ "${DISPLAY,,}" == "web" ]] && ! disabled "${WEB:-Y}"; then
info "$(app) started successfully, visit http://127.0.0.1:$WEB_PORT/ to view the screen..."
else
info "$(app) started successfully."
fi
return 0
fi
fi