Always show running message.

pull/45/head
V2Ray 2015-10-14 00:08:52 +02:00
parent 99671a173f
commit 7cd2f32d7e
1 changed files with 6 additions and 1 deletions

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