mirror of
https://github.com/NixOS/nix.git
synced 2025-12-10 11:01:03 +01:00
Merge pull request #6611 from NixOS/backport-6576-to-2.8-maintenance
[Backport 2.8-maintenance] Fix `Connection refused` on daemon socket
This commit is contained in:
commit
4555784afb
1 changed files with 1 additions and 1 deletions
|
|
@ -1819,7 +1819,7 @@ AutoCloseFD createUnixDomainSocket(const Path & path, mode_t mode)
|
|||
if (chmod(path.c_str(), mode) == -1)
|
||||
throw SysError("changing permissions on '%1%'", path);
|
||||
|
||||
if (listen(fdSocket.get(), 5) == -1)
|
||||
if (listen(fdSocket.get(), 100) == -1)
|
||||
throw SysError("cannot listen on socket '%1%'", path);
|
||||
|
||||
return fdSocket;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue