Added -f to local replica unlock
This commit is contained in:
parent
817072a6ca
commit
6b208b1909
|
@ -4,7 +4,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.1-rc1
|
PROGRAM_VERSION=1.2.1-rc1
|
||||||
PROGRAM_BUILD=2017060802
|
PROGRAM_BUILD=2017081501
|
||||||
IS_STABLE=yes
|
IS_STABLE=yes
|
||||||
|
|
||||||
##### Execution order #__WITH_PARANOIA_DEBUG
|
##### Execution order #__WITH_PARANOIA_DEBUG
|
||||||
|
@ -599,7 +599,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