From 6f975a5cbe853dfcf14dae3578e58d9785427438 Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 11 Apr 2026 17:27:09 +0200 Subject: [PATCH] fix(status-page): use ${TIER_APPS:-} for set -u safety --- scripts/generate-status-page.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-status-page.sh b/scripts/generate-status-page.sh index 795ea8422..64c3d334d 100755 --- a/scripts/generate-status-page.sh +++ b/scripts/generate-status-page.sh @@ -482,7 +482,7 @@ TIMESTAMP_ISO="$(date -u '+%Y-%m-%dT%H:%M:%SZ')" # the jq invocation below (set -e). Building the JSON via a plain # while-read loop sidesteps the problem entirely. TIER_JSON="[]" -if [ -n "$TIER_APPS" ]; then +if [ -n "${TIER_APPS:-}" ]; then tier_json_buf="[" tier_json_first=1 printf '%s\n' "$TIER_APPS" | while IFS='|' read -r tj_id tj_name tj_tier tj_st; do