Delayed connection to dnsmanager.

master
Philippe Pittoli 2023-06-16 01:29:05 +02:00
parent 301d8f7a7c
commit eb5879f5de
1 changed files with 3 additions and 3 deletions

View File

@ -187,9 +187,6 @@ def main
parsing_cli authd_config parsing_cli authd_config
# dnsmanagerd connection and authentication
dnsmanagerd = DNSManager::Client.new
if simulation if simulation
pp! authd_config pp! authd_config
pp! Context.command pp! Context.command
@ -197,6 +194,9 @@ def main
exit 0 exit 0
end end
# dnsmanagerd connection and authentication
dnsmanagerd = DNSManager::Client.new
if authd_config.login.nil? || authd_config.pass.nil? if authd_config.login.nil? || authd_config.pass.nil?
Baguette::Log.info "no authd login." Baguette::Log.info "no authd login."
else else