From e6ef9a7d3be7e835858bda33cfd39ea42bd5ba41 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 19 Feb 2008 13:11:56 +0000 Subject: [PATCH] Fix for error message when adding client to LDAP was not successful. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8954 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/SIPackages.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index f84e3277b..eb454e4e8 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -914,7 +914,7 @@ sub process_detected_hardware { $entry->add("objectClass" => "gosaAdministrativeUnit"); $entry->add("gosaUnitTag" => $gosa_unit_tag); } - if(my $res=$entry->update($ldap)) { + if($entry->update($ldap)) { # Fill $mesg again $mesg = $ldap->search( base => $ldap_base, -- 2.30.2