summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Paillard <spaillard@debian.org>2013-12-27 00:41:58 +0100
committerSimon Paillard <spaillard@debian.org>2013-12-27 00:41:58 +0100
commit61ac77ba12ccc6a02e2b80ab322a6a7b36db8cf6 (patch)
tree0b2eca3c86fc4c83e7ce7fb27f361d24840cb722
parent909a1e799de11dd9bead56a1d7aff0bcb78335f2 (diff)
bin/ftpsync: fix typo
-rwxr-xr-xbin/ftpsync2
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}"