From 89ab4a06df00456591cea3248af8c6c3710e18ff Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 27 Sep 2008 23:24:38 +0200 Subject: use a full name for the logfile Signed-off-by: Joerg Jaspert --- bin/runmirrors | 4 ++-- 1 file 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" -- cgit v1.2.3