Skip to content

Commit

Permalink
Use error command for invalid usage
Browse files Browse the repository at this point in the history
Signed-off-by: John Starich <[email protected]>
  • Loading branch information
JohnStarich committed Nov 16, 2020
1 parent b4132b0 commit b84eed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/configure-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ case "$ACTION" in
release_action delete "$VERSION"
;;
*)
echo "Invalid action: $ACTION" >&2
echo "Valid actions: $VALID_ACTIONS"
error "Invalid action: $ACTION" >&2
error "Valid actions: $VALID_ACTIONS"
exit 2
esac

0 comments on commit b84eed8

Please sign in to comment.