examples/client: Fix opening of known hosts file
This commit is contained in:
parent
f6824bd813
commit
0e3b61ed00
@ -36,7 +36,7 @@ func init() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
hostsfile, err = tofu.NewHostsFile(path)
|
||||
hostsfile, err = tofu.OpenHostsFile(path)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user