Fixed a warning.

This commit is contained in:
Ramon Novoa 2015-04-30 11:18:44 +02:00
parent 40a9958905
commit 9f69bb51db
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ sub pandora_startup () {
pandora_audit (\%Config, 'Pandora FMS Server Daemon starting', 'SYSTEM', 'System', $DBH); pandora_audit (\%Config, 'Pandora FMS Server Daemon starting', 'SYSTEM', 'System', $DBH);
# Load servers # Load servers
if ($Config{"license_type"} != METACONSOLE_LICENSE) { if (!defined($Config{"license_type"}) || $Config{"license_type"} != METACONSOLE_LICENSE) {
pandora_reset_server (\%Config, $DBH); pandora_reset_server (\%Config, $DBH);
push (@Servers, new PandoraFMS::DataServer (\%Config, $DBH)); push (@Servers, new PandoraFMS::DataServer (\%Config, $DBH));
push (@Servers, new PandoraFMS::NetworkServer (\%Config, $DBH)); push (@Servers, new PandoraFMS::NetworkServer (\%Config, $DBH));