diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/procedures/interactive | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive index d43c1fc..e85016c 100644 --- a/src/core/procedures/interactive +++ b/src/core/procedures/interactive @@ -190,11 +190,11 @@ show_report () eval "$settitles" data="Execution Report:" data="$data\n-----------------" - for w in ${menu_workers[@]} + for worker in ${menu_workers[@]} do - [ "$w" = 'msg_report' ] && continue # this worker is the one calling show_report, we can't know our exitcode yet - title=${workertitles[$w]} - exit_var=exit_worker_$w + [ "$worker" = 'msg_report' ] && continue # this worker is the one calling show_report, we can't know our exitcode yet + title=${workertitles[$worker]} + exit_var=exit_worker_$worker ret=${!exit_var} case "$ret" in "") data="$data\n > Worker $worker ($title): Skipped";; |