Fix unbound variable error in launch_local_testnet.sh

This commit is contained in:
jangko 2024-01-15 09:20:59 +07:00
parent fc0d5552ec
commit 7378d55108
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 0 deletions

View File

@ -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