1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-17 23:06:30 -05:00

Always show running message.

This commit is contained in:
V2Ray 2015-10-14 00:08:52 +02:00
parent 99671a173f
commit 7cd2f32d7e

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
})
}