mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 06:22:42 +01:00
Consolidate tempName and makeTempPath
This commit is contained in:
parent
6aed9d877c
commit
9e26549c2b
4 changed files with 7 additions and 21 deletions
|
|
@ -34,7 +34,7 @@ SSHMaster::SSHMaster(
|
|||
throw Error("invalid SSH host name '%s'", host);
|
||||
|
||||
auto state(state_.lock());
|
||||
state->tmpDir = std::make_unique<AutoDelete>(createTempDir("", "nix", true, true, 0700));
|
||||
state->tmpDir = std::make_unique<AutoDelete>(createTempDir("", "nix", 0700));
|
||||
}
|
||||
|
||||
void SSHMaster::addCommonSSHOpts(Strings & args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue