mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed remote_config (broken by another feature).
(cherry picked from commit 03c2a5a1a8de8f3e33c6787de6b9d2fc0329d52a)
This commit is contained in:
parent
a4107ecdd9
commit
1ace1b0d45
@ -1436,7 +1436,7 @@ Pandora_Windows_Service::checkConfig (string file) {
|
||||
}
|
||||
|
||||
/* 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