Add drone cap parameter (#3876)

This commit is contained in:
Jack May 2019-04-18 15:42:20 -07:00 committed by GitHub
parent 060793f451
commit 2cd556e43c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 12 deletions

View File

@ -7,18 +7,6 @@ here=$(dirname "$0")
# shellcheck source=multinode-demo/common.sh
source "$here"/common.sh
usage() {
if [[ -n $1 ]]; then
echo "$*"
echo
fi
echo "usage: $0]"
echo
echo " Run an airdrop drone"
echo
exit 1
}
[[ -f "$SOLANA_CONFIG_DIR"/mint-id.json ]] || {
echo "$SOLANA_CONFIG_DIR/mint-id.json not found, create it by running:"
echo
@ -31,6 +19,7 @@ set -ex
trap 'kill "$pid" && wait "$pid"' INT TERM ERR
$solana_drone \
--keypair "$SOLANA_CONFIG_DIR"/mint-id.json \
"$@" \
> >($drone_logger) 2>&1 &
pid=$!
wait "$pid"