summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-11-06 23:08:39 +0100
committerJoerg Jaspert <joerg@debian.org>2008-11-06 23:08:39 +0100
commit77e023d70def5ef49ac74a503c2d16824966da13 (patch)
tree0e2dcd9c04cac1d3493b8f47e63ffec0ff934116 /bin
parent3d3f46bdc27968aab256aa35a904a014d9b0a41c (diff)
Add hostname to trace file
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index baf6a12..b046437 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -423,6 +423,7 @@ done
if [ -d "`dirname "${TO}/${TRACE}"`" ]; then
date -u > "${TO}/${TRACE}"
echo "Used ftpsync version: ${VERSION}" >> "${TO}/${TRACE}"
+ echo "Running on host: $(hostname -f)" >> "${TO}/${TRACE}"
fi
HOOK=(