Fixed remote_config (broken by another feature).

(cherry picked from commit 03c2a5a1a8)
This commit is contained in:
Ramon Novoa 2015-02-09 13:37:32 +01:00
parent a4107ecdd9
commit 1ace1b0d45
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}