From 149c95c3fbd43c9a32a792000b409f32b8aca84e Mon Sep 17 00:00:00 2001 From: Jason Dellaluce Date: Thu, 12 Jan 2023 12:19:45 +0000 Subject: [PATCH] fix(userspace/falco): load config before every other action Signed-off-by: Jason Dellaluce --- userspace/falco/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/falco/application.cpp b/userspace/falco/application.cpp index 4e9fe17d..9db02d27 100644 --- a/userspace/falco/application.cpp +++ b/userspace/falco/application.cpp @@ -174,13 +174,13 @@ bool application::run(std::string &errstr, bool &restart) // dependencies are honored (e.g. don't process events before // loading plugins, opening inspector, etc.). std::list> run_steps = { + std::bind(&application::load_config, this), std::bind(&application::print_help, this), std::bind(&application::print_version, this), std::bind(&application::print_page_size, this), std::bind(&application::print_generated_gvisor_config, this), std::bind(&application::print_ignored_events, this), std::bind(&application::print_syscall_events, this), - std::bind(&application::load_config, this), std::bind(&application::print_plugin_info, this), std::bind(&application::list_plugins, this), std::bind(&application::load_plugins, this),