fix: propagate DRY_RUN env var to wp-oauth-register.sh
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/secret-scan Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-17 06:03:41 +00:00
parent 442d24b76d
commit 13088f4eb2

View file

@ -60,7 +60,7 @@ log() { printf '%s %s\n' "$LOG_TAG" "$*"; }
die() { printf '%s ERROR: %s\n' "$LOG_TAG" "$*" >&2; exit 1; } die() { printf '%s ERROR: %s\n' "$LOG_TAG" "$*" >&2; exit 1; }
# ── Flag parsing ───────────────────────────────────────────────────────────── # ── Flag parsing ─────────────────────────────────────────────────────────────
DRY_RUN=0 DRY_RUN="${DRY_RUN:-0}"
for arg in "$@"; do for arg in "$@"; do
case "$arg" in case "$arg" in
--dry-run) DRY_RUN=1 ;; --dry-run) DRY_RUN=1 ;;