From 3d0975b6cbb125cd4c937d61cd36c823873b9f7c Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 16 Sep 2008 12:13:15 +0000 Subject: [PATCH] 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 --- gosa-si/modules/ClientPackages.pm | 1 + 1 file changed, 1 insertion(+) 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}; -- 2.30.2