summaryrefslogtreecommitdiff
path: root/src/core/procedures
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2010-12-31 15:42:36 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2010-12-31 15:42:36 +0100
commit19636cb47e7338711ccbb4eb5e3d7fe6f3826507 (patch)
treec362c594237624621a13d0e70f463b0e84f8367e /src/core/procedures
parentb1e24e03d847c8b67522d76e76ced3d14b1e23a6 (diff)
fix correct worker display in interactive procedure report
Diffstat (limited to 'src/core/procedures')
-rw-r--r--src/core/procedures/interactive8
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";;