Werk #5029: Fix Windows agent crash with logwatch and '*' wildcard

Component Checks & agents
Title Fix Windows agent crash with logwatch and '*' wildcard
Date Jul 24, 2017
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.8p25 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Windows agent crashed due to globbing wildcard '*' bringing in directories when using logwatch. Re-implemented the fix already done in master also for 1.2.8 (code histories diverged due to a large refactoring done in Windows agent for 1.4.0).

To the list of all Werks