diff options
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-x | bin/ftpsync | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index ff2536b..139b884 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -408,8 +408,8 @@ fi # run!) trap cleanup ERR TERM HUP INT QUIT -# Start log by redirecting everything there. -exec >"$LOG" 2>&1 </dev/null +# Start log by redirecting stdout and stderr there and closing stdin +exec >"$LOG" 2>&1 <&- log "Mirrorsync start" # Look who pushed us and note that in the log. |