summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-01 17:21:56 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-01 17:21:56 -0500
commit0a2068d7fbd447de1135d3b16e9f26de5dd18d56 (patch)
tree17d5b4cf7ec4e9b68730fd6e99694c98a2e24829 /cmd
parentcd6376f0930d6d0848936756675ffa4c96f6cea8 (diff)
downloadgitea-0a2068d7fbd447de1135d3b16e9f26de5dd18d56.tar.gz
gitea-0a2068d7fbd447de1135d3b16e9f26de5dd18d56.zip
models: code fix on #818
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fix.go b/cmd/fix.go
index 5122ff32c7..eff85d6282 100644
--- a/cmd/fix.go
+++ b/cmd/fix.go
@@ -164,7 +164,7 @@ func runFixLocation(ctx *cli.Context) {
fmt.Scanln()
// Fix in authorized_keys file.
- sshPath := path.Join(models.SshPath, "authorized_keys")
+ sshPath := path.Join(models.SSHPath, "authorized_keys")
if com.IsFile(sshPath) {
fmt.Printf("Fixing pathes in file: %s\n", sshPath)
if err := rewriteAuthorizedKeys(sshPath, oldPath, execPath); err != nil {