nix-daemon: Don't set untrusted-* settings
These are no longer used anywhere.
This commit is contained in:
parent
1673c373c9
commit
01dcdfcf33
1 changed files with 1 additions and 3 deletions
|
@ -454,10 +454,8 @@ static void performOp(ref<LocalStore> 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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue