From c7ab21469decf84d74cdb6996264d0e67788682c Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 28 Sep 2008 20:11:53 +0200 Subject: tracefile make sure the tracefile *always* gets the full hostname, even if $HOSTNAME is set to the short one. Signed-off-by: Joerg Jaspert --- bin/ftpsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ftpsync b/bin/ftpsync index b44a87a..b7b633b 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -77,7 +77,7 @@ LOCK=${LOCK:-"${TO}/Archive-Update-in-Progress-${HOSTNAME}"} # Do we need another rsync run? UPDATEREQUIRED="${TO}/Archive-Update-Required-${HOSTNAME}" # Trace file for mirror stats and checks -TRACE=${TRACE:-"project/trace/${HOSTNAME}"} +TRACE=${TRACE:-"project/trace/$(hostname -f)"} # rsync program RSYNC=${RSYNC:-rsync} -- cgit v1.2.3