diff options
author | Unknwon <u@gogs.io> | 2015-07-09 11:15:08 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-09 11:15:08 +0800 |
commit | b60fd3aaadc3e6ad227b663d599e073f1436fd1f (patch) | |
tree | 3aa7a1e26cd878c09a52078d5aa202489122f27c /cmd/serve.go | |
parent | 3be3b8faa7b1fa8fcac0bec49f2a37e861b4353d (diff) | |
parent | 4fca548ed11cefedcaa595be1c08625a9ae9f878 (diff) |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 2 |
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.") } |