mirror of
https://github.com/deajan/osync
synced 2024-11-03 15:40:14 +00:00
Fixed wrong __CheckArguments call
This commit is contained in:
parent
eee2bdf565
commit
bd0450d95e
@ -251,7 +251,7 @@ function _CheckReplicasRemote {
|
||||
local replicaPath="${1}"
|
||||
local replicaType="${2}"
|
||||
|
||||
__CheckArguments 1 $# "$@" #__WITH_PARANOIA_DEBUG
|
||||
__CheckArguments 2 $# "$@" #__WITH_PARANOIA_DEBUG
|
||||
|
||||
local retval
|
||||
local cmd
|
||||
@ -268,7 +268,6 @@ include #### IsInteger SUBSET ####
|
||||
include #### HumanToNumeric SUBSET ####
|
||||
include #### RemoteLogger SUBSET ####
|
||||
function _CheckReplicasRemoteSub {
|
||||
|
||||
if [ ! -d "$replicaPath" ]; then
|
||||
if [ "$CREATE_DIRS" == "yes" ]; then
|
||||
$COMMAND_SUDO mkdir -p "$replicaPath"
|
||||
|
Loading…
Reference in New Issue
Block a user