diff options
-rw-r--r-- | contrib/epee/include/console_handler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h index 8fe73ef40..5dd3eaba9 100644 --- a/contrib/epee/include/console_handler.h +++ b/contrib/epee/include/console_handler.h @@ -304,7 +304,8 @@ namespace epee std::cout << usage; } } - exit_handler(); + if (exit_handler) + exit_handler(); return true; CATCH_ENTRY_L0("console_handler", false); } |