summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorLuka Dornhecker <luka.dornhecker@wlw.de>2015-04-02 22:22:58 +0200
committerLuka Dornhecker <luka.dornhecker@wlw.de>2015-04-02 22:22:58 +0200
commit1988c0993d1f2d535766e03695b4cdb0fe74e4d6 (patch)
tree415c72f4e926764eea25f63b2ff7691724449830 /cmd
parent9512eec034e4691d611152e8182605a2b7811cb7 (diff)
downloadgitea-1988c0993d1f2d535766e03695b4cdb0fe74e4d6.tar.gz
gitea-1988c0993d1f2d535766e03695b4cdb0fe74e4d6.zip
remove extra space in ssh authentication message
Diffstat (limited to 'cmd')
-rw-r--r--cmd/serve.go2
1 files changed, 1 insertions, 1 deletions
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.")
}