fix exit code

This commit is contained in:
Scott E. Graves 2025-02-19 14:28:32 -06:00
parent d3dce6bdfb
commit b79784a939

View File

@ -124,7 +124,7 @@ auto main(int argc, char **argv) -> int {
if (not utils::file::change_to_process_directory()) { if (not utils::file::change_to_process_directory()) {
utils::error::handle_error(function_name, utils::error::handle_error(function_name,
"failed to change to process directory"); "failed to change to process directory");
return 1; return -1;
} }
auto log_dir = utils::get_environment_variable("MONITARR_LOG_DIR"); auto log_dir = utils::get_environment_variable("MONITARR_LOG_DIR");