netProbe: Always log Network connectivity detected

In the netProb function, always log whether network connectivity is detected or not.
This commit is contained in:
Mathias Berchtold 2019-05-30 22:20:24 +02:00 committed by Frank Denis
parent da48434483
commit 7c8e20a533
1 changed files with 1 additions and 3 deletions

View File

@ -635,9 +635,7 @@ func netProbe(address string, timeout int) error {
continue
}
pc.Close()
if retried {
dlog.Notice("Network connectivity detected")
}
return nil
}
es := "Timeout while waiting for network connectivity"