diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-04-28T14·55+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-04-28T14·55+0200 |
commit | 895f00c37267086cc6fcd8326c8ecad2818223e8 (patch) | |
tree | ae55157f98ada6d6f3946433f693e3da1720478f /src/nix-daemon | |
parent | 73bba12d8ba1bff2b2c0266a7fdbe1ee8ab0ad6a (diff) |
Suppress warning about ssh-auth-sock
Diffstat (limited to 'src/nix-daemon')
-rw-r--r-- | src/nix-daemon/nix-daemon.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index 07ad0b45b3e4..1b90fad165af 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -483,7 +483,9 @@ static void performOp(ref<LocalStore> store, bool trusted, unsigned int clientVe }; try { - if (trusted + if (name == "ssh-auth-sock") // obsolete + ; + else if (trusted || name == settings.buildTimeout.name || name == settings.connectTimeout.name) settings.set(name, value); |