Fixing the horrible typo

This commit is contained in:
deajan 2015-01-08 18:52:19 +01:00
parent dd9d3dc982
commit 9b0e673ee0
2 changed files with 6 additions and 6 deletions

View File

@ -140,7 +140,7 @@ HARD_MAX_EXEC_TIME_FILE_TASK=7200
PARTIAL=no PARTIAL=no
## Delete files on destination that vanished from source. Do not turn this on unless you enabled backup rotation or a snapshotting FS like zfs to keep those vanished files on the destination. ## Delete files on destination that vanished from source. Do not turn this on unless you enabled backup rotation or a snapshotting FS like zfs to keep those vanished files on the destination.
DELETE_VANSIHED_FILES=no DELETE_VANISHED_FILES=no
## ---------- ALERT OPTIONS ## ---------- ALERT OPTIONS

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
###### Remote (or local) backup script for files & databases ###### Remote (or local) backup script for files & databases
###### (L) 2013 by Orsiris "Ozy" de Jong (www.netpower.fr) ###### (L) 2013-2015 by Orsiris "Ozy" de Jong (www.netpower.fr)
AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong" AUTHOR="(L) 2013-2015 by Orsiris \"Ozy\" de Jong"
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
PROGRAM_VERSION=1.84RC4 PROGRAM_VERSION=1.84RC4
PROGRAM_BUILD=0801201501 PROGRAM_BUILD=0801201502
## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode ## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode
if ! type -p "$BASH" > /dev/null if ! type -p "$BASH" > /dev/null
@ -1280,7 +1280,7 @@ function Init
RSYNC_EXCLUDE="$RSYNC_EXCLUDE --exclude=\"$PARTIAL_DIR\"" RSYNC_EXCLUDE="$RSYNC_EXCLUDE --exclude=\"$PARTIAL_DIR\""
fi fi
if [ "DELETE_VANSIHED_FILES" == "yes" ] if [ "DELETE_VANISHED_FILES" == "yes" ]
then then
SYNC_OPTS=$SYNC_OPTS" --delete" SYNC_OPTS=$SYNC_OPTS" --delete"
fi fi
@ -1477,7 +1477,7 @@ do
no_maxtime=1 no_maxtime=1
;; ;;
--delete) --delete)
DELETE_VANSIHED_FILES="yes" DELETE_VANISHED_FILES="yes"
;; ;;
--help|-h|--version|-v) --help|-h|--version|-v)
Usage Usage