This commit is contained in:
Scott E. Graves 2025-02-19 11:52:59 -06:00
parent 20e6fd8ffd
commit 15472c0357

View File

@ -47,16 +47,16 @@ using namespace monitarr;
auto main(int argc, char **argv) -> int {
MONITARR_USES_FUNCTION_NAME();
#if defined(PROJECT_ENABLE_BACKWARD_CPP)
static backward::SignalHandling sh;
#endif // defined(PROJECT_ENABLE_BACKWARD_CPP)
if (not utils::file::change_to_process_directory()) {
utils::error::handle_error(function_name,
"failed to change to process directory");
return 1;
}
#if defined(PROJECT_ENABLE_BACKWARD_CPP)
static backward::SignalHandling sh;
#endif // defined(PROJECT_ENABLE_BACKWARD_CPP)
if (not monitarr::project_initialize()) {
return -1;
}