setup.sh can now be more picky about the kind of config it creates

This commit is contained in:
Michael Vines
2018-07-02 08:08:14 -07:00
committed by Grimes
parent c0f9e452f2
commit 5716898216
4 changed files with 65 additions and 19 deletions

View File

@@ -57,7 +57,9 @@ fi
[[ -f "$SOLANA_CONFIG_DIR"/validator.json ]] || {
echo "$SOLANA_CONFIG_DIR/validator.json not found, run ${here}/setup.sh first"
echo "$SOLANA_CONFIG_DIR/validator.json not found, create it by running:"
echo
echo " ${here}/setup.sh -t validator"
exit 1
}