Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): Check err when parsing config to avoid segfault
If loading the config has an error (for example: it contains an unknown field), the OptLoadConfigFile function needs to return an error, otherwise later Options will have a nil pointer for the config, causing them to segfault.
- Loading branch information