From 4b60859054a6eb6015a56da8d8bf9e4f509252d6 Mon Sep 17 00:00:00 2001 From: Stefano Da Ros Date: Tue, 13 Jun 2017 18:53:59 +0200 Subject: [PATCH] Fix typo The file should be titled "known_hosts" instead. --- src/duplicacy_storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duplicacy_storage.go b/src/duplicacy_storage.go index 8d434de..9aa9aa4 100644 --- a/src/duplicacy_storage.go +++ b/src/duplicacy_storage.go @@ -82,7 +82,7 @@ func checkHostKey(repository string, hostname string, remote net.Addr, key ssh.P } preferencePath := GetDuplicacyPreferencePath(repository) - hostFile := path.Join(preferencePath, "knowns_hosts") + hostFile := path.Join(preferencePath, "known_hosts") file, err := os.OpenFile(hostFile, os.O_RDWR | os.O_CREATE, 0600) if err != nil { return err