Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
intxgo committed Feb 6, 2024
1 parent 6a0c521 commit e54f4cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/linux/arch_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e54f4cf

Please sign in to comment.