Commit 98bf0a72 authored by Gustav Paul's avatar Gustav Paul

go vet: remove unreachable code

parent 6394cd5d
......@@ -50,7 +50,6 @@ func initHostPidId() {
_, err2 := io.ReadFull(rand.Reader, hostB)
if err2 != nil {
panic(fmt.Errorf("cannot get hostname: %v; %v", err, err2))
return
}
} else {
hw := md5.New()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment