Skip to content

Commit 6b63a5e

Browse files
authored
Replace wget with curl
1 parent 8f1a813 commit 6b63a5e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎script/slurm_stoker_containerized_kickoff.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ echo "--------------------------------"
102102
# and https://stackoverflow.com/a/4642975
103103
host_sbatch_url="https://raw.githubusercontent.com/mmore500/dishtiny/${repo_sha}/script/host_sbatch.sh"
104104
echo "host_sbatch_url ${host_sbatch_url}"
105-
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 10 -qO- "${host_sbatch_url}" \
106-
| bash -s "${JOB_SCRIPT}" \
105+
curl --fail --show-error --silent --location --retry 10 --retry-delay 1 --max-time 15 --connect-timeout 20 "${host_sbatch_url}" | bash -s "${JOB_SCRIPT}" \
107106
&& rm -f "${JOB_SCRIPT}" \
108107
&& echo "${JOB_SCRIPT} submitted"
109108

0 commit comments

Comments
 (0)