From: rettenbe Date: Tue, 16 Sep 2008 12:13:15 +0000 (+0000) Subject: bugfix: add missing return in ClientPackages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d0975b6cbb125cd4c937d61cd36c823873b9f7c;p=gosa.git bugfix: add missing return in ClientPackages git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12474 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/ClientPackages.pm b/gosa-si/modules/ClientPackages.pm index b21fb3303..e5f24ff33 100644 --- a/gosa-si/modules/ClientPackages.pm +++ b/gosa-si/modules/ClientPackages.pm @@ -764,6 +764,7 @@ sub new_ldap_config { my $hit_counter = keys %{$res}; if( not $hit_counter == 1 ) { &main::daemon_log("$session_id ERROR: more or no hit found in known_clients_db by query '$sql_statement'", 1); + return; } $address = $res->{1}->{hostname};