Warn on untrusted client settings being ignored
These are such a footgun and trip people up a lot. Let's make Lix louder
about this.
Related: #261
Change-Id: I6a8d57c9817caaa6b0cbf886c615dda51038f628
This commit is contained in:
parent
47fb494676
commit
2e8f9ac944
|
@ -253,7 +253,7 @@ struct ClientSettings
|
|||
else if (setSubstituters(settings.substituters))
|
||||
;
|
||||
else
|
||||
debug("ignoring the client-specified setting '%s', because it is a restricted setting and you are not a trusted user", name);
|
||||
warn("Ignoring the client-specified setting '%s', because it is a restricted setting and you are not a trusted user", name);
|
||||
} catch (UsageError & e) {
|
||||
warn(e.what());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue