]> source.dussan.org Git - gitea.git/commitdiff
remove extra space in ssh authentication message
authorLuka Dornhecker <luka.dornhecker@wlw.de>
Thu, 2 Apr 2015 20:22:58 +0000 (22:22 +0200)
committerLuka Dornhecker <luka.dornhecker@wlw.de>
Thu, 2 Apr 2015 20:22:58 +0000 (22:22 +0200)
cmd/serve.go

index 484060c4c3264f0bea579d6c52fbf5e5977cb774..c291c5e3411728e8c2aeadb019e33960d17fae1c 100644 (file)
@@ -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.")
                }