From c78d6bc4ce1c611da3042338ec914577c84525e6 Mon Sep 17 00:00:00 2001 From: deajan Date: Sat, 2 Dec 2017 13:16:48 +0100 Subject: [PATCH] Fixed process counting message --- dev/ofunctions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 70443ff..338216b 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -898,7 +898,7 @@ function ParallelExec { if [ $((($exec_time + 1) % $keepLogging)) -eq 0 ]; then if [ $log_ttime -ne $exec_time ]; then # Fix when sleep time lower than 1s log_ttime=$exec_time - Logger "There are $((commandCount-counter-numberOfProcess)) / $commandCount in the task queue. Currently, ${#pidsArray[@]} tasks running with pids [$(joinString , ${pidsArray[@]})]." "NOTICE" + Logger "There are $((commandCount-counter)) / $commandCount tasks in the queue. Currently, ${#pidsArray[@]} tasks running with pids [$(joinString , ${pidsArray[@]})]." "NOTICE" fi fi fi