check_logfiles icon indicating copy to clipboard operation
check_logfiles copied to clipboard

Load Nagios::CheckLogfiles::Search::Eventlog only if we are on Windows.

Open hpreusse opened this issue 2 years ago • 4 comments

hpreusse avatar Jun 22 '23 10:06 hpreusse

This PR should addess parts of #73

hpreusse avatar Jun 22 '23 10:06 hpreusse

Thanks for submitting the PR. Actually, you should use 'require' rather than 'use', so Nagios::CheckLogfiles::Search::Eventlog isn't used at compile time, only runtime. Sorry for commenting too early yesterday, I probably was too low on caffeine ;)

xavierba avatar Jun 23 '23 07:06 xavierba

@xavierba. I'm not a programmer at all, I just moved some code around. I've changed the fork and hence updated the PR. Thanks for the hint!

hpreusse avatar Jun 23 '23 22:06 hpreusse

I am aware of your comments here and i will have a look later. I'm just too busy in the moment...

lausser avatar Jul 03 '23 10:07 lausser