Skip to content

Commit

Permalink
Remove erroneous -n causing the log message to be read as a variable (#…
Browse files Browse the repository at this point in the history
…3896)

hack/util.sh: line 14: would: unbound variable occurs in it's current state.
  • Loading branch information
s-fairchild authored Oct 9, 2024
1 parent f7404a1 commit 0362cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/hive/hive-dev-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main() {

if [ "$( $KUBECTL get namespace $HIVE_OPERATOR_NS -o yaml 2>/dev/null | wc -l )" -ne 0 ]; then
log "hive is already installed in namespace $HIVE_OPERATOR_NS"
log -n "would you like to reapply the configs? (y/N): "
log "would you like to reapply the configs? (y/N): "
read answer
if [[ "$answer" != "y" ]]; then
exit
Expand Down

0 comments on commit 0362cb5

Please sign in to comment.