diff options
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions index 6159e50..59ab853 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -729,7 +729,10 @@ trigger_mirror_refreshs() { "${master_mirror_rsync_directory}/lastupdate" rm "${tmp_file}" for trigger_url in ${mirror_refresh_trigger_urls}; do - screen -S trigger-mirror-update -d -m curl -L "${trigger_url}" + screen -S trigger-mirror-update -d -m curl -L --connect-timeout 10 "${trigger_url}" + done + while screen -list trigger-mirror-update; do + sleep 1 done } |