Skip to content

Commit

Permalink
fix: Add -i flag to ignore not known sysctl properties on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
zaremba-tomasz committed Aug 25, 2022
1 parent 5e40f04 commit 73bbfa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

const (
sysctlCmd = "sysctl"
sysctlCmd = "sysctl -i"
cpuModelNameKey = "machdep.cpu.brand_string"
cpuCoreKey = "hw.physicalcpu"
cpusKey = "hw.logicalcpu"
Expand Down

0 comments on commit 73bbfa5

Please sign in to comment.