Clean code
This commit is contained in:
parent
631deb2e7d
commit
828c89de99
7 changed files with 19 additions and 26 deletions
2
serve.go
2
serve.go
|
@ -58,7 +58,7 @@ func runServ(*cli.Context) {
|
|||
|
||||
cmd := os.Getenv("SSH_ORIGINAL_COMMAND")
|
||||
if cmd == "" {
|
||||
println("Hi ", user.Name, "! You've successfully authenticated, but Gogs does not provide shell access.")
|
||||
println("Hi", user.Name, "! You've successfully authenticated, but Gogs does not provide shell access.")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue