Skip to content

Commit 862c816

Browse files
authored
Merge pull request NixOS#14150 from cole-h/fixup-fakessh-check
libstore: fixup fakeSSH check
2 parents d5d7ca0 + 7ec1427 commit 862c816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/ssh.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ SSHMaster::SSHMaster(
7878
oss << authority.host;
7979
return std::move(oss).str();
8080
}())
81-
, fakeSSH(authority.host == "localhost")
81+
, fakeSSH(authority.to_string() == "localhost")
8282
, keyFile(keyFile)
8383
, sshPublicHostKey(parsePublicHostKey(authority.host, sshPublicHostKey))
8484
, useMaster(useMaster && !fakeSSH)

0 commit comments

Comments
 (0)