mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02: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
1 changed files with 1 additions and 0 deletions
|
@ -380,6 +380,7 @@ func receive(c *cli.Context) (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func relay(c *cli.Context) (err error) {
|
func relay(c *cli.Context) (err error) {
|
||||||
|
log.Infof("starting croc relay version %v", Version)
|
||||||
debugString := "info"
|
debugString := "info"
|
||||||
if c.GlobalBool("debug") {
|
if c.GlobalBool("debug") {
|
||||||
debugString = "debug"
|
debugString = "debug"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue