This commit is contained in:
crusader 2018-09-17 20:13:17 +09:00
parent f02b66bcd7
commit fdee1f764f

View File

@ -20,7 +20,7 @@ func Ping(destination string, options *PingOptions) (*PingResult, error) {
pCmd := exec.Command("cmd.exe", params...)
output, err := pCmd.CombinedOutput()
if err != nil {
return "", err
return nil, err
}
return parseWindowsPing(output)