summaryrefslogtreecommitdiff
path: root/bin/runmirrors
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-09-27 23:24:38 +0200
committerJoerg Jaspert <joerg@debian.org>2008-09-27 23:24:38 +0200
commit89ab4a06df00456591cea3248af8c6c3710e18ff (patch)
tree7e6b4ba540477fe1b8de2b7038a5434fc81302df /bin/runmirrors
parent090a35fdf01678aca4bdc9752756f12af91dd9d1 (diff)
use a full name for the logfile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/runmirrors')
-rwxr-xr-xbin/runmirrors4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/runmirrors b/bin/runmirrors
index b2ac7e0..c877de2 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -44,10 +44,10 @@ mkdir -p ${LOG}
cd ${HOME}
umask 002
-trap 'log "Mirrorpush done"; ${SAVELOG} "${LOG}" > /dev/null' EXIT
+trap 'log "Mirrorpush done"; ${SAVELOG} "${LOG}/runmirrors" > /dev/null' EXIT
# Start log by redirecting everything there.
-exec >"${LOG}" 2>&1
+exec >"${LOG}/runmirrors" 2>&1
log "Pushing leaf mirrors"