Added async polling trace

This commit is contained in:
fermin831 2017-09-28 17:31:54 +02:00
parent fcd54a7853
commit 2bb62110cd
1 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,9 @@ async_run (Pandora_Module_Service *module) {
// do not emit logs. It is a way to check if there is a
// Home Edition Windows distribution
polling = (stat("C:\\Windows\\System32\\gpedit.msc", &st) != 0);
if (polling) {
pandoraLog("Async polling service %s for this Windows edition", module->getServiceName().c_str());
}
while (1) {
event_log = OpenEventLog (NULL, "Service Control Manager");