From e54f4cf540c6f3a4ca24e70cd8220b10bd973ca7 Mon Sep 17 00:00:00 2001 From: Leszek Kubik <39905449+intxgo@users.noreply.github.com> Date: Tue, 6 Feb 2024 19:50:57 +0100 Subject: [PATCH] improve comment --- providers/linux/arch_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/linux/arch_linux.go b/providers/linux/arch_linux.go index 06f7e50..b0756bd 100644 --- a/providers/linux/arch_linux.go +++ b/providers/linux/arch_linux.go @@ -54,6 +54,7 @@ func NativeArchitecture() (string, error) { if err != nil { if os.IsNotExist(err) { // fallback to checking version string + // as /proc/sys/kernel/arch was added in 6.1 version, err := os.ReadFile(procVersion) if err != nil { return "", nil