From 578ed7a259ddf7a85c85fe4e0200179ae908171e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 14 Mar 2019 13:52:13 +0100 Subject: [PATCH] findRoots(): Don't censor for trusted users They're pretty much root anyway. --- src/nix-daemon/nix-daemon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index dd8b9bd1e..8d63b8f36 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -475,7 +475,7 @@ static void performOp(TunnelLogger * logger, ref store, case wopFindRoots: { logger->startWork(); - Roots roots = store->findRoots(true); + Roots roots = store->findRoots(!trusted); logger->stopWork(); size_t size = 0;