From: rettenbe Date: Tue, 5 Aug 2008 12:28:00 +0000 (+0000) Subject: bugfix: gosa-si-server without error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=040d2606627f9b9e776de7e7a083c27f08f47e75;p=gosa.git bugfix: gosa-si-server without error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12150 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);