summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-11-02 22:01:26 +0100
committerJoerg Jaspert <joerg@debian.org>2008-11-02 22:01:26 +0100
commit7ad465f95034a7e0c1eddd3fd3fe61ad11f467f4 (patch)
tree6777c9dc3b1b4a65c89bd0a81db7267139e36d9c /bin/ftpsync
parent0b3ddc7cf0d857cc925785454de896e2ed616d82 (diff)
ftpsync
log who pushed us Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 30cd19b..c9b4fc5 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -317,7 +317,9 @@ trap cleanup EXIT ERR TERM HUP INT QUIT
# Start log by redirecting everything there.
exec >"$LOG" 2>&1
-log "Mirrorsync start"
+
+# Look who pushed us and note that in the log.
+log "Mirrorsync start, we got pushed from ${SSH_CONNECTION%%\ *}"
log "Acquired main lock"
if [ "xtruex" = "x${SYNCCALLBACK}x" ]; then