From: Luka Dornhecker Date: Thu, 2 Apr 2015 20:22:58 +0000 (+0200) Subject: remove extra space in ssh authentication message X-Git-Tag: v0.9.99~1397^2~1^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1988c0993d1f2d535766e03695b4cdb0fe74e4d6;p=gitea.git remove extra space in ssh authentication message --- diff --git a/cmd/serve.go b/cmd/serve.go index 484060c4c3..c291c5e341 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -102,7 +102,7 @@ func runServ(c *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.") + fmt.Printf("Hi, %s! You've successfully authenticated, but Gogs does not provide shell access.\n", user.Name) if user.IsAdmin { println("If this is unexpected, please log in with password and setup Gogs under another user.") }