diff options
author | 2020-04-28 23:43:31 -0700 | |
---|---|---|
committer | 2020-04-28 23:43:31 -0700 | |
commit | 0da786280a2a03ee6847c3e859cda90131d95718 (patch) | |
tree | 176f54d988c940b21cce6de04e4db60724aa352e | |
parent | wrapper: ensure locking (diff) | |
download | gentoo-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-x | mirmon-wrapper.sh | 2 |
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" |