This commit is contained in:
Michael Vines
2019-03-21 16:14:46 -07:00
parent db5d22e532
commit d626a89c88

View File

@ -172,9 +172,8 @@ if [[ ! -d "$SOLANA_RSYNC_CONFIG_DIR"/ledger ]]; then
fi
if [[ ! -d "$ledger_config_dir" ]]; then
cp -ra "$SOLANA_RSYNC_CONFIG_DIR"/ledger "$ledger_config_dir"
cp -a "$SOLANA_RSYNC_CONFIG_DIR"/ledger/ "$ledger_config_dir"
$solana_ledger_tool --ledger "$ledger_config_dir" verify
fi
trap 'kill "$pid" && wait "$pid"' INT TERM ERR