mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 15:40:59 +01:00
Merge pull request #14178 from NixOS/backport-14150-to-2.31-maintenance
[Backport 2.31-maintenance] libstore: fixup fakeSSH check
This commit is contained in:
commit
e8574843f1
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ SSHMaster::SSHMaster(
|
|||
oss << authority.host;
|
||||
return std::move(oss).str();
|
||||
}())
|
||||
, fakeSSH(authority.host == "localhost")
|
||||
, fakeSSH(authority.to_string() == "localhost")
|
||||
, keyFile(keyFile)
|
||||
, sshPublicHostKey(parsePublicHostKey(authority.host, sshPublicHostKey))
|
||||
, useMaster(useMaster && !fakeSSH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue