get_enode.sh: --retry-connrefused instead --retry-all-errors
The `--retry-all-errors` flag was added only in Curl `7.71.0`: https://github.com/curl/curl/commit/b995bb58 So it fails on older distrubutions with: ``` curl: option --retry-all-errors: is unknown curl: try 'curl --help' or 'curl --manual' for more information ``` Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
842ba229df
commit
034f3bfec3
|
@ -11,7 +11,7 @@ MAIL_PASSWORD="${MAIL_PASSWORD:-status-offline-inbox}"
|
|||
|
||||
# query local
|
||||
RESP_JSON=$(
|
||||
curl -sS --retry 3 --retry-all-errors \
|
||||
curl -sS --retry 3 --retry-connrefused \
|
||||
-X POST http://${RPC_ADDR}:${RPC_PORT}/ \
|
||||
-H 'Content-type: application/json' \
|
||||
-d '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}'
|
||||
|
|
Loading…
Reference in New Issue