[checkmk-commits] Fix for log rotation wait logic