Skip to content

Commit

Permalink
Merge pull request #1 from robertpeteuil/dev
Browse files Browse the repository at this point in the history
adjust output-only display
  • Loading branch information
robertpeteuil authored Oct 27, 2022
2 parents d805810 + 2b4fbc5 commit 95a213a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions hashi-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ elif [[ -z "$VERSION" ]]; then
[[ "$OUTPUTONLY" ]] && echo "info: latest ${PRODUCT} release is ${VERSION}"
fi

# # exit if output only
# [[ "$OUTPUTONLY" ]] && exit 0
# exit if output only
[[ "$OUTPUTONLY" ]] && exit 0

# DETERMINE OS AND PROCESSOR
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
Expand Down Expand Up @@ -267,13 +267,6 @@ fi
# VERIFY LINKS
verifyLinks



# exit if output only
[[ "$OUTPUTONLY" ]] && displayValues && exit 0



#### EXECUTION

# DEFAULT TO TERRAFORM (backward compatability with terraform-installer)
Expand Down

0 comments on commit 95a213a

Please sign in to comment.