We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c3fdf commit 7c3188dCopy full SHA for 7c3188d
lib/gosping/gosping.go
@@ -11,7 +11,7 @@ func OsPing(host string) bool {
11
case "windows":
12
cmd = exec.Command("ping", host, "-n", "1", "-w", "200")
13
case "linux":
14
- cmd = exec.Command("ping", host, "-c", "1", "-w", "200", "-W", "200")
+ cmd = exec.Command("ping", host, "-c", "1", "-W", "1")
15
case "darwin":
16
cmd = exec.Command("ping", host, "-c", "1", "-W", "200")
17
case "freebsd":
0 commit comments