mirror of
https://github.com/deajan/osync
synced 2024-11-19 03:25:37 +00:00
Misc fixes
This commit is contained in:
parent
2d19cba036
commit
62676fee40
@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
|||||||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.2-dev-parallel-unstable
|
PROGRAM_VERSION=1.2-dev-parallel-unstable
|
||||||
PROGRAM_BUILD=2016072705
|
PROGRAM_BUILD=2016080101
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
source "./ofunctions.sh"
|
source "./ofunctions.sh"
|
||||||
@ -368,10 +368,10 @@ function _WriteLockFilesRemote {
|
|||||||
eval "$cmd" &
|
eval "$cmd" &
|
||||||
WaitForTaskCompletion $! 720 1800 ${FUNCNAME[0]}
|
WaitForTaskCompletion $! 720 1800 ${FUNCNAME[0]}
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
Logger "Could not set lock on remote target replica." "CRITICAL"
|
Logger "Could not set lock on remote $replica_type replica." "CRITICAL"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
Logger "Locked remote target replica." "DEBUG"
|
Logger "Locked remote $replica_type replica." "DEBUG"
|
||||||
LOCK_REMOTE=1
|
LOCK_REMOTE=1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user