Rename variable
This commit is contained in:
parent
e5922f04a5
commit
9a8b028c96
|
@ -7,7 +7,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2020 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2020 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.3.0-rc1
|
PROGRAM_VERSION=1.3.0-rc1
|
||||||
PROGRAM_BUILD=2020072201
|
PROGRAM_BUILD=2020111501
|
||||||
IS_STABLE=false
|
IS_STABLE=false
|
||||||
|
|
||||||
CONFIG_FILE_REVISION_REQUIRED=1.3.0
|
CONFIG_FILE_REVISION_REQUIRED=1.3.0
|
||||||
|
@ -515,10 +515,10 @@ function _HandleLocksRemote {
|
||||||
|
|
||||||
# Check if -A exists on target
|
# Check if -A exists on target
|
||||||
ps -A > /dev/null 2>&1
|
ps -A > /dev/null 2>&1
|
||||||
notExistaCapitalA=$?
|
psNotExistsOptA=$?
|
||||||
|
|
||||||
# Create an array of all currently running pids
|
# Create an array of all currently running pids
|
||||||
if [ "$notExistaCapitalA" == "0" ]; then
|
if [ "$psNotExistaOptA" == "0" ]; then
|
||||||
read -a initiatorRunningPids <<< $(ps -A | tail -n +2 | awk '{print $1}')
|
read -a initiatorRunningPids <<< $(ps -A | tail -n +2 | awk '{print $1}')
|
||||||
else
|
else
|
||||||
read -a initiatorRunningPids <<< $(ps -e | tail -n +2 | awk '{print $1}')
|
read -a initiatorRunningPids <<< $(ps -e | tail -n +2 | awk '{print $1}')
|
||||||
|
|
Loading…
Reference in New Issue