Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions5
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
}