From 7d3dacc6d7fc5fc4eaf99acf0083b79083d868c1 Mon Sep 17 00:00:00 2001 From: Jason Dellaluce Date: Tue, 28 Jun 2022 12:18:29 +0000 Subject: [PATCH] refactor(userspace/falco): cleanup actions order Signed-off-by: Jason Dellaluce --- userspace/falco/application.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/userspace/falco/application.cpp b/userspace/falco/application.cpp index 1470d4bf..eff2ac08 100644 --- a/userspace/falco/application.cpp +++ b/userspace/falco/application.cpp @@ -126,17 +126,18 @@ bool application::run(std::string &errstr, bool &restart) std::bind(&application::print_help, this), std::bind(&application::print_version, 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::create_signal_handlers, this), std::bind(&application::load_config, this), - std::bind(&application::init_inspector, this), std::bind(&application::print_plugin_info, this), + std::bind(&application::list_plugins, this), + std::bind(&application::init_inspector, this), std::bind(&application::load_plugins, this), std::bind(&application::init_falco_engine, this), std::bind(&application::list_fields, this), - std::bind(&application::list_plugins, this), std::bind(&application::validate_rules_files, this), std::bind(&application::load_rules_files, this), - std::bind(&application::print_ignored_events, this), std::bind(&application::print_support, this), std::bind(&application::attach_inotify_signals, this), std::bind(&application::daemonize, this),