netProbe: Always log Network connectivity detected
In the netProb function, always log whether network connectivity is detected or not.
This commit is contained in:
parent
da48434483
commit
7c8e20a533
|
@ -635,9 +635,7 @@ func netProbe(address string, timeout int) error {
|
|||
continue
|
||||
}
|
||||
pc.Close()
|
||||
if retried {
|
||||
dlog.Notice("Network connectivity detected")
|
||||
}
|
||||
dlog.Notice("Network connectivity detected")
|
||||
return nil
|
||||
}
|
||||
es := "Timeout while waiting for network connectivity"
|
||||
|
|
Loading…
Reference in New Issue