mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Merge pull request #2931 from NinjaTrappeur/nin-add-warning-setting-untrusted
Daemon: warn when an untrusted user cannot override a setting
This commit is contained in:
commit
7ce60a81ba
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
|||
else if (setSubstituters(settings.extraSubstituters))
|
||||
;
|
||||
else
|
||||
debug("ignoring untrusted setting '%s'", name);
|
||||
warn("ignoring the user-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