Skip to content

fix: add set -e to 3 scripts missing it#94

Merged
sebrandon1 merged 1 commit into
mainfrom
fix/add-set-e-to-scripts
Jul 15, 2026
Merged

fix: add set -e to 3 scripts missing it#94
sebrandon1 merged 1 commit into
mainfrom
fix/add-set-e-to-scripts

Conversation

@sebrandon1

Copy link
Copy Markdown
Contributor

Summary

  • Add set -e to fetch-ocp-crc-version.sh, wait-for-operators.sh, and prompt-bundle-cache-skip.sh to match the convention used by all 24 other scripts
  • Guard curl and jq command substitutions with || true to preserve existing retry and fallback logic under set -e
  • Simplify the jq error check from $? -ne 0 || -z to just -z since || true absorbs the exit code

Closes #73

Add set -e to fetch-ocp-crc-version.sh, wait-for-operators.sh, and
prompt-bundle-cache-skip.sh to match the convention used by all other
scripts. Guard curl and jq command substitutions with || true to
preserve existing retry and fallback logic.

Closes #73
@sebrandon1
sebrandon1 merged commit f007e26 into main Jul 15, 2026
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add set -e to 3 scripts missing it

1 participant