From 895f00c37267086cc6fcd8326c8ecad2818223e8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 28 Apr 2017 16:55:52 +0200 Subject: Suppress warning about ssh-auth-sock --- src/nix-daemon/nix-daemon.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 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); -- cgit 1.4.1