aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2015-04-24 15:08:45 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2015-04-24 15:08:45 +0800
commit5de0b0c5cef74e762eb499b6517d0416f2c6bace (patch)
treedf07b68ba7209e28751ecdb5624fd4f60f545af2 /cmd
parente378b3152c2b68561dc8f8d181cd7a1da5a63fa2 (diff)
parent1988c0993d1f2d535766e03695b4cdb0fe74e4d6 (diff)
Merge pull request #1183 from lukad/feature/remove-plenk
Remove extra space from 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 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.")
}