mirror of
https://github.com/oneclickvirt/basics.git
synced 2025-10-09 02:20:18 +08:00
update
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user