summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-12-31 16:26:36 +0100
committerJoerg Jaspert <joerg@debian.org>2009-12-31 16:26:36 +0100
commitc7ecee0e9700f796ab63388a60095c478952eb82 (patch)
treec670c3a387ae1d51f1b5eb32ef1967e4d866867f
parent464b2942c49d25cf9cbc8f76becfa155981bd86b (diff)
ftpsync, runmirrors
fixup calling of runmirrors log more what we are supposed to do Signed-off-by: Joerg Jaspert <joerg@debian.org>
-rwxr-xr-xbin/ftpsync2
-rwxr-xr-xbin/runmirrors2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 1af9348..98f80d4 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -496,7 +496,7 @@ function mainroutine() {
RUNMIRRORARGS="${RUNMIRRORARGS} -k all"
fi
log "Trigger slave mirrors"
- ${BASEDIR}/bin/runmirrors "${RUNMIRRORARGS}"
+ ${BASEDIR}/bin/runmirrors ${RUNMIRRORARGS}
log "Trigger slave done"
HOOK=(
diff --git a/bin/runmirrors b/bin/runmirrors
index 275f82e..e320722 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -148,7 +148,7 @@ mkdir -p "${LOCKDIR}"
trap 'log "Mirrorpush done" >> ${LOG}; savelog "${LOG}" > /dev/null' EXIT
-log "Pushing leaf mirrors" >> ${LOG}
+log "Pushing leaf mirrors. Inside ftpsync: ${FROMFTPSYNC}. Pushkind: ${PUSHKIND}" >> ${LOG}
HOOK=(
HOOKNR=1