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

@@ -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
}