Skip to content

Commit

Permalink
Fix unbound variable error in launch_local_testnet.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jangko committed Jan 15, 2024
1 parent fc0d555 commit 7378d55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/launch_local_testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ PIDS_TO_WAIT=""
# argument parsing #
####################

USE_SYSTEM_GETOPT="${USE_SYSTEM_GETOPT:-0}"
GETOPT_BINARY="getopt"
if [[ "${OS}" == "macos" && "$USE_SYSTEM_GETOPT" != "1" ]]; then
# Without the head -n1 constraint, it gets confused by multiple matches
Expand Down

0 comments on commit 7378d55

Please sign in to comment.