aboutsummaryrefslogtreecommitdiff
path: root/src/nix-daemon
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-28 16:55:52 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-28 16:55:52 +0200
commit895f00c37267086cc6fcd8326c8ecad2818223e8 (patch)
treeae55157f98ada6d6f3946433f693e3da1720478f /src/nix-daemon
parent73bba12d8ba1bff2b2c0266a7fdbe1ee8ab0ad6a (diff)
Suppress warning about ssh-auth-sock
Diffstat (limited to 'src/nix-daemon')
-rw-r--r--src/nix-daemon/nix-daemon.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc
index 07ad0b45b..1b90fad16 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);