From 723501526ceac2c961c275566aab12d887abbdc4 Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 8 Aug 2019 21:08:38 +0200 Subject: [PATCH] Fixed flatten array comparaison --- dev/ofunctions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index c5d5f5a..e6be279 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -31,7 +31,7 @@ #### OFUNCTIONS MINI SUBSET #### #### OFUNCTIONS MICRO SUBSET #### _OFUNCTIONS_VERSION=2.3.0-dev-postRC2 -_OFUNCTIONS_BUILD=2019080804 +_OFUNCTIONS_BUILD=2019080805 #### _OFUNCTIONS_BOOTSTRAP SUBSET #### _OFUNCTIONS_BOOTSTRAP=true #### _OFUNCTIONS_BOOTSTRAP SUBSET END #### @@ -1051,9 +1051,9 @@ function ExecTasks { function _ExecTasksPidsCheck { newPidsArray=() - if [ "$currentRunningPids" != "${pidsArray[@]}" ]; then + if [ "$currentRunningPids" != "$(joinString " " ${pidsArray[@]})" ]; then Logger "ExecTask running for pids [${pidsArray[@]}]." "DEBUG" - currentRunningPids="${pidsArray[@]}" + currentRunningPids="$(joinString " " ${pidsArray[@]})" fi for pid in "${pidsArray[@]}"; do