about summary refs log tree commit diff
path: root/src/nix-daemon/nix-daemon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-daemon/nix-daemon.cc')
-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 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);