Fixed unlocking
This commit is contained in:
parent
9cb6cc57af
commit
babeea9d9a
|
@ -9,7 +9,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
|||
AUTHOR="(C) 2013-2018 by Orsiris de Jong"
|
||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||
PROGRAM_VERSION=1.3.0-beta1
|
||||
PROGRAM_BUILD=2018101002
|
||||
PROGRAM_BUILD=2018101003
|
||||
IS_STABLE=no
|
||||
|
||||
##### Execution order #__WITH_PARANOIA_DEBUG
|
||||
|
@ -718,8 +718,8 @@ function UnlockReplicas {
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ "$unlockPids" -ne 0 ]; then
|
||||
ExecTasks "$initiatorPid;$targetPid" "${FUNCNAME[0]}" false 0 0 720 1800 true $SLEEP_TIME $KEEP_LOGGING
|
||||
if [ "$unlockPids" != "0" ]; then
|
||||
ExecTasks "$unlockPids" "${FUNCNAME[0]}" false 0 0 720 1800 true $SLEEP_TIME $KEEP_LOGGING
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue