Added -f to local replica unlock
This commit is contained in:
parent
86ff4dc5e9
commit
86930737b0
|
@ -8,7 +8,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2017 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2017 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.2-dev
|
PROGRAM_VERSION=1.2.2-dev
|
||||||
PROGRAM_BUILD=2017072701
|
PROGRAM_BUILD=2017081401
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
|
|
||||||
|
@ -602,7 +602,7 @@ function _UnlockReplicasLocal {
|
||||||
local retval
|
local retval
|
||||||
|
|
||||||
if [ -f "$lockfile" ]; then
|
if [ -f "$lockfile" ]; then
|
||||||
rm "$lockfile"
|
rm -f "$lockfile"
|
||||||
retval=$?
|
retval=$?
|
||||||
if [ $retval -ne 0 ]; then
|
if [ $retval -ne 0 ]; then
|
||||||
Logger "Could not unlock local $replicaType replica." "ERROR" $retval
|
Logger "Could not unlock local $replicaType replica." "ERROR" $retval
|
||||||
|
|
Loading…
Reference in New Issue