nix-daemon: Don't set untrusted-* settings
These are no longer used anywhere.
This commit is contained in:
parent
1673c373c9
commit
01dcdfcf33
|
@ -454,10 +454,8 @@ static void performOp(ref<LocalStore> store, bool trusted, unsigned int clientVe
|
||||||
string name = readString(from);
|
string name = readString(from);
|
||||||
string value = readString(from);
|
string value = readString(from);
|
||||||
try {
|
try {
|
||||||
if (name == "build-timeout")
|
if (trusted || name == "build-timeout")
|
||||||
settings.set(name, value);
|
settings.set(name, value);
|
||||||
else
|
|
||||||
settings.set(trusted ? name : "untrusted-" + name, value);
|
|
||||||
} catch (UsageError & e) {
|
} catch (UsageError & e) {
|
||||||
warn(e.what());
|
warn(e.what());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue