Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS committed Jul 26, 2024
1 parent 42411b2 commit 1261918
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Include: https://github.com/oneclickvirt/gostun

## TODO

- [ ] FreeBSD下获取不到CPU的型号,待修复
- [ ] 检测GPU相关信息,可参考[ghw](https://github.com/jaypipes/ghw)
- [ ] CPUCache的信息需要矫正
- [ ] 纯IPV6环境下使用cdn反代获取平台信息
Expand Down
2 changes: 1 addition & 1 deletion system/sysctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func checkSysctlVersion() bool {
out, err := exec.Command("sysctl", "--version").Output()
out, err := exec.Command("sysctl", "-h").Output()
if err != nil {
return false
}
Expand Down

0 comments on commit 1261918

Please sign in to comment.