diff options
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 { |