Corrected variable # of arguments for _WriteLockFiles

This commit is contained in:
deajan 2016-11-19 12:47:17 +01:00
parent 6efe00938b
commit 630f26f8d2
1 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ function _WriteLockFilesLocal {
local replicaType="${2}" local replicaType="${2}"
local overwrite="${3:-false}" local overwrite="${3:-false}"
__CheckArguments 3 $# "${FUNCNAME[0]}" "$@" #__WITH_PARANOIA_DEBUG __CheckArguments 2-3 $# "${FUNCNAME[0]}" "$@" #__WITH_PARANOIA_DEBUG
( (
if [ $overwrite == true ]; then if [ $overwrite == true ]; then
@ -569,7 +569,7 @@ function _WriteLockFilesRemote {
local replicaType="${2}" local replicaType="${2}"
local overwrite="${3-false}" local overwrite="${3-false}"
__CheckArguments 3 $# "${FUNCNAME[0]}" "$@" #__WITH_PARANOIA_DEBUG __CheckArguments 2-3 $# "${FUNCNAME[0]}" "$@" #__WITH_PARANOIA_DEBUG
local cmd local cmd