summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c557d0f)
raw | patch | inline | side by side (parent: c557d0f)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Feb 2008 11:04:27 +0000 (11:04 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Feb 2008 11:04:27 +0000 (11:04 +0000) |
Corrected is_connected check
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8756 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8756 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index d90279583213fc3649b327fea4346c01db5f3193..787b9bdd56388bc76689458e4855e8f9e020952d 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
# send xml hash to server with general server passwd
my $res = &send_msg_hash2address($register_hash, $server, $default_server_key);
- last;
+ if($res) {
+ last;
+ } else {
+ next;
+ }
}
daemon_log("waiting for msg 'register_at_gosa_si_server'",1);
- $kernel->delay_set('register_at_gosa_si_server',2);
+ $kernel->delay_set('register_at_gosa_si_server',180);
# clear old settings and set it again
$kernel->delay_set('trigger_new_key', $server_key_lifetime);
}