diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index c9b4fc5..2af437f 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -319,7 +319,11 @@ trap cleanup EXIT ERR TERM HUP INT QUIT exec >"$LOG" 2>&1 # Look who pushed us and note that in the log. -log "Mirrorsync start, we got pushed from ${SSH_CONNECTION%%\ *}" +log "Mirrorsync start" +PUSHFROM="${SSH_CONNECTION%%\ *}" +if [ -n "${PUSHFROM}" ]; then + log "We got pushed from ${PUSHFROM}" +fi log "Acquired main lock" if [ "xtruex" = "x${SYNCCALLBACK}x" ]; then |