diff options
author | Jade Lovelace <lix@jade.fyi> | 2024-05-04 21:30:26 -0700 |
---|---|---|
committer | Jade Lovelace <lix@jade.fyi> | 2024-05-04 21:30:26 -0700 |
commit | 2e8f9ac9446110a3e225ae8384055d83f29fff12 (patch) | |
tree | c9096d011313a63f2e6fe96bbb26a767b52be1ce /src/libstore | |
parent | 47fb49467601f43c950abc88c835ed44733f3d8f (diff) |
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: https://git.lix.systems/lix-project/lix/issues/261
Change-Id: I6a8d57c9817caaa6b0cbf886c615dda51038f628
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/daemon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc index 6a3035dda..242b4ddc6 100644 --- a/src/libstore/daemon.cc +++ b/src/libstore/daemon.cc @@ -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()); } |