Fix always passing in remote filename, even if no accounts file (#4993) (#4994)

* Fix always passing in remote filename, even if no accounts file

* typo

(cherry picked from commit d111223085)
This commit is contained in:
mergify[bot]
2019-07-09 15:44:04 -07:00
committed by Michael Vines
parent 2f58658f61
commit 6dbb6c7fe2

View File

@ -95,7 +95,7 @@ failOnValidatorBootupFailure=true
genesisOptions=
numFullnodesRequested=
externalPrimordialAccountsFile=
remoteExternalPrimordialAccountsFile=/tmp/external-primodial-accounts.yml
remoteExternalPrimordialAccountsFile=
stakeNodesInGenesisBlock=
command=$1
@ -122,6 +122,7 @@ while [[ -n $1 ]]; do
shift 2
elif [[ $1 = --external-accounts-file ]]; then
externalPrimordialAccountsFile="$2"
remoteExternalPrimordialAccountsFile=/tmp/external-primordial-accounts.yml
shift 2
else
usage "Unknown long option: $1"