netdata_patch_1_4_3: Add patch to run on Debian 10

This commit is contained in:
thiagoftsm
2024-06-03 23:18:09 +00:00
parent 7d1fe77f65
commit 3d78a726c6

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);
}