From 01dcdfcf336a127438b35b81751a783cde063ab8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 14 Apr 2017 11:59:51 +0200 Subject: [PATCH] nix-daemon: Don't set untrusted-* settings These are no longer used anywhere. --- src/nix-daemon/nix-daemon.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index b4e753f55..90bfc67d8 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -454,10 +454,8 @@ static void performOp(ref store, bool trusted, unsigned int clientVe string name = readString(from); string value = readString(from); try { - if (name == "build-timeout") + if (trusted || name == "build-timeout") settings.set(name, value); - else - settings.set(trusted ? name : "untrusted-" + name, value); } catch (UsageError & e) { warn(e.what()); }