From 040d2606627f9b9e776de7e7a083c27f08f47e75 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 5 Aug 2008 12:28:00 +0000 Subject: [PATCH] bugfix: gosa-si-server without error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12150 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 2f82f8bd6..982b2343e 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1578,12 +1578,15 @@ print STDERR Dumper($result); $act_status = "$status - $product"; } elsif ($status eq "error") { $error++; - unshift(@error_list, $product)$act_status = "error - $product"; + unshift(@error_list, $product); } } if ((not $error) && (not $installing) && ($installed)) { $act_status = "installed - ".join(", ", @installed_list); } + if ($error) { + $act_status = "error - ".join(", ", @error_list); + } if ($progress ne $result->{'progress'} ) { my $update_statement = "UPDATE $job_queue_tn SET progress='".$result->{'progress'}."', result='$act_status', modified='1' WHERE macaddress='$macaddress'"; my $update_res = $job_db->update_dbentry($update_statement); -- 2.30.2