From 019e8aa68f5e54b2f5a3c6a3c65dd66193920961 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 30 Jul 2018 17:35:07 +0200 Subject: [PATCH] Fixed non recursive backups being recursive --- dev/n_obackup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index 3387b88..ede2b19 100755 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -7,7 +7,7 @@ PROGRAM="obackup" AUTHOR="(C) 2013-2017 by Orsiris de Jong" CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr" PROGRAM_VERSION=2.1-beta5 -PROGRAM_BUILD=2018083004 +PROGRAM_BUILD=2018083005 IS_STABLE=no #### Execution order #__WITH_PARANOIA_DEBUG @@ -1396,7 +1396,7 @@ function DecryptFiles { function Rsync { local sourceDir="${1}" # Source directory local destinationDir="${2}" # Destination directory - local recursive="${2:-true}" # Backup only files at toplevel of directory + local recursive="${3:-true}" # Backup only files at toplevel of directory __CheckArguments 3 $# "$@" #__WITH_PARANOIA_DEBUG