Fixed remote_config (broken by another feature).
(cherry picked from commit 03c2a5a1a8
)
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…
Reference in New Issue