diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index 1cdf20d..1ae7b81 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -414,6 +414,7 @@ exec >"$LOG" 2>&1 <&- log "Mirrorsync start" # Look who pushed us and note that in the log. +SSH_CONNECTION=${SSH_CONNECTION:-""} PUSHFROM="${SSH_CONNECTION%%\ *}" if [ -n "${PUSHFROM}" ]; then log "We got pushed from ${PUSHFROM}" |