mirror of
https://github.com/schollz/croc.git
synced 2024-11-24 08:02:33 +03:00
relay: show version on startup
Since relay is a long-running process, I find myself in situations where I dont know which version of croc I have running. This simple startup log will make it obvious.
This commit is contained in:
parent
9bf470ef29
commit
c058bcbb6b
@ -380,6 +380,7 @@ func receive(c *cli.Context) (err error) {
|
||||
}
|
||||
|
||||
func relay(c *cli.Context) (err error) {
|
||||
log.Infof("starting croc relay version %v", Version)
|
||||
debugString := "info"
|
||||
if c.GlobalBool("debug") {
|
||||
debugString = "debug"
|
||||
|
Loading…
Reference in New Issue
Block a user