From 9b0e673ee07e9ab77b2d6336bc34271d0a41fee9 Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 8 Jan 2015 18:52:19 +0100 Subject: [PATCH] Fixing the horrible typo --- host_backup.conf | 2 +- obackup.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/host_backup.conf b/host_backup.conf index 4c674d7..838f296 100755 --- a/host_backup.conf +++ b/host_backup.conf @@ -140,7 +140,7 @@ HARD_MAX_EXEC_TIME_FILE_TASK=7200 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_VANSIHED_FILES=no +DELETE_VANISHED_FILES=no ## ---------- ALERT OPTIONS diff --git a/obackup.sh b/obackup.sh index 8aa596c..36693e7 100755 --- a/obackup.sh +++ b/obackup.sh @@ -1,11 +1,11 @@ #!/bin/bash ###### Remote (or local) backup script for files & databases -###### (L) 2013 by Orsiris "Ozy" de Jong (www.netpower.fr) -AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong" +###### (L) 2013-2015 by Orsiris "Ozy" de Jong (www.netpower.fr) +AUTHOR="(L) 2013-2015 by Orsiris \"Ozy\" de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" 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 if ! type -p "$BASH" > /dev/null @@ -1280,7 +1280,7 @@ function Init RSYNC_EXCLUDE="$RSYNC_EXCLUDE --exclude=\"$PARTIAL_DIR\"" fi - if [ "DELETE_VANSIHED_FILES" == "yes" ] + if [ "DELETE_VANISHED_FILES" == "yes" ] then SYNC_OPTS=$SYNC_OPTS" --delete" fi @@ -1477,7 +1477,7 @@ do no_maxtime=1 ;; --delete) - DELETE_VANSIHED_FILES="yes" + DELETE_VANISHED_FILES="yes" ;; --help|-h|--version|-v) Usage