Code

Remove warning.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Nov 2008 16:31:56 +0000 (16:31 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Nov 2008 16:31:56 +0000 (16:31 +0000)
References #588

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13060 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client

index 8a77d3865a5592adade49464066d125c55340979..3b5cd8b7eae8e5ec28abba536e03f53cd3bd77cf 100755 (executable)
@@ -1205,7 +1205,7 @@ if( defined $server_check ) {
                }
                if (0 == @tmp_servers) {
                        my $log_string = "no gosa-si-server found!";
-                       $log_string .= "\n\tdetermined domains out of /etc/resolv.conf: ".join(", ", @domain_list) if (defined(@domain_list));
+                       $log_string .= "\n\tdetermined domains out of /etc/resolv.conf: ".join(", ", @domain_list) if (@domain_list);
                        $log_string .= "\n\tdetermined server addresses in domains: ".join(", ",@$tmp_domains) if (defined($tmp_domains));
                        daemon_log("ERROR: $log_string", 1) if (defined($log_string));
                        daemon_log("ERROR: $error_string", 1) if (defined($error_string));