summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-04-28 23:43:31 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-04-28 23:43:31 -0700
commit0da786280a2a03ee6847c3e859cda90131d95718 (patch)
tree176f54d988c940b21cce6de04e4db60724aa352e
parentwrapper: ensure locking (diff)
downloadgentoo-mirrorstats-0da786280a2a03ee6847c3e859cda90131d95718.tar.gz
gentoo-mirrorstats-0da786280a2a03ee6847c3e859cda90131d95718.tar.bz2
gentoo-mirrorstats-0da786280a2a03ee6847c3e859cda90131d95718.zip
wrapper: fix locker args
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xmirmon-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirmon-wrapper.sh b/mirmon-wrapper.sh
index 4fffee0..74a12d6 100755
--- a/mirmon-wrapper.sh
+++ b/mirmon-wrapper.sh
@@ -34,7 +34,7 @@ main() {
VAR_GMIRRORS=${VARDIR}/g.mirrors
EXTRA_MIRRORS=${CONFDIR}/g.mirrors.extra
# Lock outselves
- [ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "${VARDIR}/flock" "$0" "${OPTS[@]}" || :
+ [ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "${VARDIR}/flock" "$0" "--xml-src=${XML_SRC}" "--mode=${MODE}" "--url=${URL}" || :
# Grab mirrors from the web
mkdir -p "${VARDIR}" "${HTDOCS}" || die "Failed to mkdir"