Fixed wrong __CheckArguments call

This commit is contained in:
deajan 2016-12-15 12:01:10 +01:00
parent eee2bdf565
commit bd0450d95e
1 changed files with 1 additions and 2 deletions

View File

@ -251,7 +251,7 @@ function _CheckReplicasRemote {
local replicaPath="${1}" local replicaPath="${1}"
local replicaType="${2}" local replicaType="${2}"
__CheckArguments 1 $# "$@" #__WITH_PARANOIA_DEBUG __CheckArguments 2 $# "$@" #__WITH_PARANOIA_DEBUG
local retval local retval
local cmd local cmd
@ -268,7 +268,6 @@ include #### IsInteger SUBSET ####
include #### HumanToNumeric SUBSET #### include #### HumanToNumeric SUBSET ####
include #### RemoteLogger SUBSET #### include #### RemoteLogger SUBSET ####
function _CheckReplicasRemoteSub { function _CheckReplicasRemoteSub {
if [ ! -d "$replicaPath" ]; then if [ ! -d "$replicaPath" ]; then
if [ "$CREATE_DIRS" == "yes" ]; then if [ "$CREATE_DIRS" == "yes" ]; then
$COMMAND_SUDO mkdir -p "$replicaPath" $COMMAND_SUDO mkdir -p "$replicaPath"