From 4ee20b130e7b933b5304377a9ac729cc50741368 Mon Sep 17 00:00:00 2001 From: deajan Date: Fri, 23 Dec 2016 18:02:03 +0100 Subject: [PATCH] Corrected wrong number of arguments checked for BackupDatabase sub functions --- dev/n_obackup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index 1d605ce..ac72a55 100755 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -916,7 +916,7 @@ function _BackupDatabaseRemoteToLocal { local exportOptions="${2}" # export options local encrypt="${3:-false}" # Does the file need to be encrypted ? - __CheckArguments 2 $# "$@" #__WITH_PARANOIA_DEBUG + __CheckArguments 3 $# "$@" #__WITH_PARANOIA_DEBUG local encryptOptions local encryptExtension