drop -it options for call with --exec

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-03-20 10:07:52 +01:00
parent 0eb55e9bca
commit d0bb1d50bb
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@
if [[ -z "$@" ]]; then
docker exec -it {{ faucet_geth_name }} geth attach http://localhost:{{ faucet_geth_rpc_port }}
else
docker exec -it {{ faucet_geth_name }} geth attach http://localhost:{{ faucet_geth_rpc_port }} --exec "$@"
docker exec {{ faucet_geth_name }} geth attach http://localhost:{{ faucet_geth_rpc_port }} --exec "$@"
fi

View File

@ -2,5 +2,5 @@
if [[ -z "$@" ]]; then
docker exec -it {{ miner_cont_name }} geth attach http://localhost:{{ miner_rpc_port }}
else
docker exec -it {{ miner_cont_name }} geth attach http://localhost:{{ miner_rpc_port }} --exec "$@"
docker exec {{ miner_cont_name }} geth attach http://localhost:{{ miner_rpc_port }} --exec "$@"
fi