From 61ac77ba12ccc6a02e2b80ab322a6a7b36db8cf6 Mon Sep 17 00:00:00 2001 From: Simon Paillard Date: Fri, 27 Dec 2013 00:41:58 +0100 Subject: bin/ftpsync: fix typo --- bin/ftpsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3