summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-09-28 20:11:53 +0200
committerJoerg Jaspert <joerg@debian.org>2008-09-28 20:11:53 +0200
commitc7ab21469decf84d74cdb6996264d0e67788682c (patch)
treea1e08765728506c8e8276a51a826191fea11b5ef /bin
parent7093517c7ed66cf65acffe9286d8703b10ab339b (diff)
tracefile
make sure the tracefile *always* gets the full hostname, even if $HOSTNAME is set to the short one. Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
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}