From 0a2068d7fbd447de1135d3b16e9f26de5dd18d56 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 1 Feb 2015 17:21:56 -0500 Subject: models: code fix on #818 --- cmd/fix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/fix.go') diff --git a/cmd/fix.go b/cmd/fix.go index 5122ff32..eff85d62 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 { -- cgit v1.2.3