From 1e4f706ace7d84f8edcfd74ae444047fab836f77 Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 16 Sep 2021 20:56:00 +0100 Subject: command: Allow running Python on failure for state introspection Signed-off-by: gatecat --- common/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/command.h') diff --git a/common/command.h b/common/command.h index 092ab215..6cce8c61 100644 --- a/common/command.h +++ b/common/command.h @@ -39,6 +39,7 @@ class CommandHandler int exec(); void load_json(Context *ctx, std::string filename); void clear(); + void run_script_hook(const std::string &name); protected: virtual void setupArchContext(Context *ctx) = 0; @@ -55,7 +56,6 @@ class CommandHandler void setupContext(Context *ctx); int executeMain(std::unique_ptr ctx); po::options_description getGeneralOptions(); - void run_script_hook(const std::string &name); void printFooter(); protected: -- cgit v1.2.3