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

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

* typo
This commit is contained in:
Dan Albert 2019-07-09 16:07:31 -06:00 committed by GitHub
parent 1ca7e9f67b
commit d111223085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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