diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-01 17:21:56 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-01 17:21:56 -0500 |
commit | 0a2068d7fbd447de1135d3b16e9f26de5dd18d56 (patch) | |
tree | 17d5b4cf7ec4e9b68730fd6e99694c98a2e24829 /cmd | |
parent | cd6376f0930d6d0848936756675ffa4c96f6cea8 (diff) | |
download | gitea-0a2068d7fbd447de1135d3b16e9f26de5dd18d56.tar.gz gitea-0a2068d7fbd447de1135d3b16e9f26de5dd18d56.zip |
models: code fix on #818
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/fix.go | 2 |
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 { |