warn if a catchall config option (unknown config option) exists
a longer way of saying: warn if a config key is unknown Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
d4d8c6eb21
commit
6996d63a02
2 changed files with 13 additions and 1 deletions
|
@ -136,6 +136,9 @@ async fn main() {
|
|||
maximize_fd_limit().expect("Unable to increase maximum soft and hard file descriptor limit");
|
||||
|
||||
config.warn_deprecated();
|
||||
config.warn_unknown_key();
|
||||
|
||||
// don't start if we're listening on both UNIX sockets and TCP at same time
|
||||
if config.is_dual_listening(raw_config) {
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue