Werk #14708: fileinfo: Fix crash with negative file age

Component Checks & agents
Title fileinfo: Fix crash with negative file age
Date Dec 16, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p19 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, fileinfo and fileinfo group services would crash if the file's creation timestamp was from the future.

Now, the service state is UNKNOWN and there is a message indicating the problem.

To the list of all Werks