Always show running message.

This commit is contained in:
V2Ray
2015-10-14 00:08:52 +02:00
parent 99671a173f
commit 7cd2f32d7e
+6 -1
View File
@@ -91,7 +91,12 @@ func (vp *Point) Start() error {
}
return retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
return vp.ich.Listen(vp.port)
err := vp.ich.Listen(vp.port)
if err == nil {
log.Warning("Point server started on port %d", vp.port)
return nil
}
return err
})
}