Code

Fix for error message when adding client to LDAP was not successful.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 13:11:56 +0000 (13:11 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Feb 2008 13:11:56 +0000 (13:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8954 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/SIPackages.pm

index f84e3277bdfea68c38ee25898b21a97990a40409..eb454e4e8e74d8ef8667f364be14e719387be66c 100644 (file)
@@ -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,