Fixed wrong __CheckArguments call
This commit is contained in:
parent
eee2bdf565
commit
bd0450d95e
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue