aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-04-24 05:21:10 -0400
committerUnknwon <u@gogs.io>2015-04-24 05:21:10 -0400
commitc08baee0855807d24a1b86adfcea86d0731e2a3a (patch)
treec033d0fd4a4c4104b0b6304ec9f2a26c6047ce10 /cmd
parent7a7c096fd09035f759168800402389457648f47e (diff)
parentf92bdf875b4ccb2a8eadaa571d112ebf653986d6 (diff)
Merge branch 'develop' of github.com:gogits/gogs into develop
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 484060c4..c291c5e3 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.")
}