mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-10 18:42:33 +00:00
docs: add a comment on missing config files
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
This commit is contained in:
parent
335022076f
commit
12122729a4
@ -86,6 +86,9 @@ falco::app::run_result falco::app::actions::load_config(falco::app::state& s)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Is possible to have an empty config file when we want to use some command line
|
||||||
|
// options like `--help`, `--version`, ...
|
||||||
|
// The configs used in `load_yaml` will be initialized to the default values.
|
||||||
s.config->init(s.options.cmdline_config_options);
|
s.config->init(s.options.cmdline_config_options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user