Code

bugfix: log line if ip is not resolvable
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Sep 2008 11:20:46 +0000 (11:20 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Sep 2008 11:20:46 +0000 (11:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12556 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client

index ab3fb734ab29e5530153e2305ed00b7a65c0b5ee..dc11a0724036810a294b546aa77cd93ba9f99103 100755 (executable)
@@ -556,6 +556,7 @@ sub register_at_gosa_si_server {
                                $dnsname = `hostname`;
                        } else {
                                &write_to_file("goto-error-dns:$ip", $fai_logpath);
+                    &main::daemon_log("ERROR: ip is not resolvable, no registration possible. Write 'goto-error-dns:$ip' to $fai_logpath", 1);
                                exit(1);
                        }
                }