From 7eb4ee68ae671ea86239375748bc1496f14ae6cf Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 10 Oct 2018 00:05:46 +0200 Subject: [PATCH] Added unlockReplica pid initialisation --- dev/n_osync.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index d2a2eaf..4c8a024 100644 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -684,9 +684,9 @@ ENDSSH function UnlockReplicas { __CheckArguments 0 $# "$@" #__WITH_PARANOIA_DEBUG - local initiatorPid - local targetPid - local unlockPids + local initiatorPid=0 + local targetPid=0 + local unlockPids=0 if [ $_NOLOCKS == true ]; then return 0