diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index 2d9a47b..405be14 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -322,7 +322,7 @@ RSYNC_EXTRA=${RSYNC_EXTRA:-""} # 0 as unlimited, so this is safe. RSYNC_OPTIONS="${RSYNC_EXTRA} --bwlimit=${RSYNC_BW} ${RSYNC_OPTIONS}" -# Finally, make sure RSYNC_OPTIONS2 has either --delete-after or --deleter-delay +# Finally, make sure RSYNC_OPTIONS2 has either --delete-after or --delete-delay RSYNC_OPTION_REGEX="--delete-(after|delay)" if ! [[ ${RSYNC_OPTIONS2} =~ ${RSYNC_OPTION_REGEX} ]]; then RSYNC_OPTIONS2+=" --delete-${RSYNC_DELETE_METHOD}" |