summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-05 11:52:35 +0200
committerErich Eckner <git@eckner.net>2019-08-05 11:52:35 +0200
commitc5ae58edbe8bd110421c59667f6b2480a0a9fe9f (patch)
treea639ddae02a7e2cfc240060fe93c27fe66b4f0aa /lib/common-functions
parentefcf8ff2a859d8a9dcab96f83f15f90e003be215 (diff)
downloadbuilder-c5ae58edbe8bd110421c59667f6b2480a0a9fe9f.tar.xz
lib/common-functions: do not wait for screens to finish - it's unimportant
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 7bf79a6..59576fb 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -728,13 +728,10 @@ trigger_mirror_refreshs() {
"${tmp_file}" \
"${master_mirror_rsync_directory}/lastupdate"
rm "${tmp_file}"
+ screen -wipe || true
for trigger_url in ${mirror_refresh_trigger_urls}; do
screen -S trigger-mirror-update -d -m curl -L --connect-timeout 10 "${trigger_url}"
done
- while screen -list trigger-mirror-update; do
- sleep 1
- screen -wipe || true
- done
}
# extract_pkgname_epoch_pkgver_pkgrel_sub_pkgrel_arch_from_package_name