fix: propagate DRY_RUN env var to wp-oauth-register.sh
All checks were successful
All checks were successful
This commit is contained in:
parent
442d24b76d
commit
13088f4eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ log() { printf '%s %s\n' "$LOG_TAG" "$*"; }
|
|||
die() { printf '%s ERROR: %s\n' "$LOG_TAG" "$*" >&2; exit 1; }
|
||||
|
||||
# ── Flag parsing ─────────────────────────────────────────────────────────────
|
||||
DRY_RUN=0
|
||||
DRY_RUN="${DRY_RUN:-0}"
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
--dry-run) DRY_RUN=1 ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue