From ffbc48561e63cee8f42f43c9d1db33e3d784d9ad Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 12 Feb 2008 11:59:27 +0000 Subject: [PATCH] Moved from ! to not defined git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8855 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 52729a954..d0e45264b 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -590,7 +590,6 @@ sub get_encrypt_key { last; } } - # target can be in known_client if( not defined $encrypt_key ) { @@ -944,7 +943,7 @@ sub client_input { # answer is for one specific host # get encrypt_key my $encrypt_key = &get_encrypt_key($answer_target); - if( !$encrypt_key ) { + if( not defined $encrypt_key ) { # unknown target, forward msg to bus daemon_log("WARNING: unknown target '$answer_target', forward msg to bus", 3); my $sql_statement = "SELECT * FROM known_server WHERE hostname='$bus_address'"; -- 2.30.2