mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed remote_config (broken by another feature).
This commit is contained in:
parent
1a126158eb
commit
ba1c14ec4f
@ -1433,10 +1433,10 @@ Pandora_Windows_Service::checkConfig (string file) {
|
||||
if (tmp != "") {
|
||||
agent_name = tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Error getting agent name */
|
||||
if (tmp.empty ()) {
|
||||
if (agent_name.empty ()) {
|
||||
pandoraDebug ("Pandora_Windows_Service::checkConfig: Error getting agent name");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user