Merge pull request #10274 from tweag/warn-on-untrusted-setting

Daemon: warn when an untrusted user cannot override a setting
This commit is contained in:
Théophane Hufschmitt 2024-03-21 16:40:24 +01:00 committed by GitHub
commit f666eda94d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -254,7 +254,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());
}