diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-11-02 22:01:26 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-11-02 22:01:26 +0100 |
commit | 7ad465f95034a7e0c1eddd3fd3fe61ad11f467f4 (patch) | |
tree | 6777c9dc3b1b4a65c89bd0a81db7267139e36d9c | |
parent | 0b3ddc7cf0d857cc925785454de896e2ed616d82 (diff) |
ftpsync
log who pushed us
Signed-off-by: Joerg Jaspert <joerg@debian.org>
-rwxr-xr-x | bin/ftpsync | 4 |
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 |