mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed remote_config (broken by another feature).
(cherry picked from commit 03c2a5a1a8de8f3e33c6787de6b9d2fc0329d52a)
This commit is contained in:
parent
a4107ecdd9
commit
1ace1b0d45
@ -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