mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added async polling trace
This commit is contained in:
parent
fcd54a7853
commit
2bb62110cd
@ -102,6 +102,9 @@ async_run (Pandora_Module_Service *module) {
|
|||||||
// do not emit logs. It is a way to check if there is a
|
// do not emit logs. It is a way to check if there is a
|
||||||
// Home Edition Windows distribution
|
// Home Edition Windows distribution
|
||||||
polling = (stat("C:\\Windows\\System32\\gpedit.msc", &st) != 0);
|
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) {
|
while (1) {
|
||||||
event_log = OpenEventLog (NULL, "Service Control Manager");
|
event_log = OpenEventLog (NULL, "Service Control Manager");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user