diff options
| author | David Runge <dvzrv@archlinux.org> | 2021-11-30 23:05:58 +0100 |
|---|---|---|
| committer | David Runge <dvzrv@archlinux.org> | 2021-11-30 23:05:58 +0100 |
| commit | 547678627dd76e2c3f9bb14b89d830522671691f (patch) | |
| tree | fab8fdcbec9facd933e4816c500d3f5226c2488a | |
| parent | 2cbf5abe62b13e784f079656bc89202aabc24caf (diff) | |
| parent | 679bfc8c9f094bec5995117bd9139b3e83acbba9 (diff) | |
| download | archiso-547678627dd76e2c3f9bb14b89d830522671691f.tar.gz archiso-547678627dd76e2c3f9bb14b89d830522671691f.tar.bz2 | |
Merge remote-tracking branch 'deimosian/deimosian-master-patch-67154'
* deimosian/deimosian-master-patch-67154:
Fixes failure to retry script download. Tested and verified the issue is resolved.
| -rwxr-xr-x | configs/releng/airootfs/root/.automated_script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/releng/airootfs/root/.automated_script.sh b/configs/releng/airootfs/root/.automated_script.sh index 5c0c316..52c47e6 100755 --- a/configs/releng/airootfs/root/.automated_script.sh +++ b/configs/releng/airootfs/root/.automated_script.sh @@ -16,7 +16,7 @@ automated_script () script="$(script_cmdline)" if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then - curl "${script}" --location --retry-connrefused -s -o /tmp/startup_script >/dev/null + curl "${script}" --location --retry-connrefused --retry 10 -s -o /tmp/startup_script >/dev/null rt=$? else cp "${script}" /tmp/startup_script |
