This commit is contained in:
spiritlhl
2024-07-26 09:20:22 +00:00
parent 42411b2a01
commit 1261918dce
2 changed files with 1 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ Include: https://github.com/oneclickvirt/gostun
## TODO ## TODO
- [ ] FreeBSD下获取不到CPU的型号待修复
- [ ] 检测GPU相关信息可参考[ghw](https://github.com/jaypipes/ghw) - [ ] 检测GPU相关信息可参考[ghw](https://github.com/jaypipes/ghw)
- [ ] CPUCache的信息需要矫正 - [ ] CPUCache的信息需要矫正
- [ ] 纯IPV6环境下使用cdn反代获取平台信息 - [ ] 纯IPV6环境下使用cdn反代获取平台信息

View File

@@ -6,7 +6,7 @@ import (
) )
func checkSysctlVersion() bool { func checkSysctlVersion() bool {
out, err := exec.Command("sysctl", "--version").Output() out, err := exec.Command("sysctl", "-h").Output()
if err != nil { if err != nil {
return false return false
} }