Fixed flatten array comparaison

This commit is contained in:
deajan 2019-08-08 21:08:38 +02:00
parent 2f4384d911
commit 723501526c
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
#### OFUNCTIONS MINI SUBSET #### #### OFUNCTIONS MINI SUBSET ####
#### OFUNCTIONS MICRO SUBSET #### #### OFUNCTIONS MICRO SUBSET ####
_OFUNCTIONS_VERSION=2.3.0-dev-postRC2 _OFUNCTIONS_VERSION=2.3.0-dev-postRC2
_OFUNCTIONS_BUILD=2019080804 _OFUNCTIONS_BUILD=2019080805
#### _OFUNCTIONS_BOOTSTRAP SUBSET #### #### _OFUNCTIONS_BOOTSTRAP SUBSET ####
_OFUNCTIONS_BOOTSTRAP=true _OFUNCTIONS_BOOTSTRAP=true
#### _OFUNCTIONS_BOOTSTRAP SUBSET END #### #### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
@ -1051,9 +1051,9 @@ function ExecTasks {
function _ExecTasksPidsCheck { function _ExecTasksPidsCheck {
newPidsArray=() newPidsArray=()
if [ "$currentRunningPids" != "${pidsArray[@]}" ]; then if [ "$currentRunningPids" != "$(joinString " " ${pidsArray[@]})" ]; then
Logger "ExecTask running for pids [${pidsArray[@]}]." "DEBUG" Logger "ExecTask running for pids [${pidsArray[@]}]." "DEBUG"
currentRunningPids="${pidsArray[@]}" currentRunningPids="$(joinString " " ${pidsArray[@]})"
fi fi
for pid in "${pidsArray[@]}"; do for pid in "${pidsArray[@]}"; do