Added -f to local replica unlock

This commit is contained in:
deajan 2017-08-14 22:21:41 +02:00
parent 86ff4dc5e9
commit 86930737b0
1 changed files with 2 additions and 2 deletions

View File

@ -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