diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-09-28 20:11:53 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-09-28 20:11:53 +0200 |
commit | c7ab21469decf84d74cdb6996264d0e67788682c (patch) | |
tree | a1e08765728506c8e8276a51a826191fea11b5ef | |
parent | 7093517c7ed66cf65acffe9286d8703b10ab339b (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>
-rwxr-xr-x | bin/ftpsync | 2 |
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} |