Skip to content

Commit

Permalink
Fix prepare script return value when config exists
Browse files Browse the repository at this point in the history
  • Loading branch information
PlagueCZ authored and guvenc committed Aug 9, 2024
1 parent 45477e5 commit cc24358
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ while [[ $# -gt 0 ]]; do
done

if [[ "$CONFIG_EXISTS" == "true" ]]; then
err "File $CONFIG already exists"
log "File $CONFIG already exists, no changes made"
exit 0
fi

validate
Expand Down

0 comments on commit cc24358

Please sign in to comment.