From 7ad465f95034a7e0c1eddd3fd3fe61ad11f467f4 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 2 Nov 2008 22:01:26 +0100 Subject: ftpsync log who pushed us Signed-off-by: Joerg Jaspert --- bin/ftpsync | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/ftpsync') 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 -- cgit v1.2.3