netdata_patch_1_4_2: Add patch to run on Debian 10

This commit is contained in:
thiagoftsm
2024-05-13 02:06:28 +00:00
parent 89aecd2188
commit 12387f03c2

View File

@@ -97,6 +97,9 @@ __u32 get_kernel_version(void)
if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3)
return 0;
if (major == 4 && minor == 19 && patch > 255)
return KERNEL_VERSION(major, minor, 255);
return KERNEL_VERSION(major, minor, patch);
}