fix exit code
This commit is contained in:
parent
d3dce6bdfb
commit
b79784a939
@ -124,7 +124,7 @@ auto main(int argc, char **argv) -> int {
|
||||
if (not utils::file::change_to_process_directory()) {
|
||||
utils::error::handle_error(function_name,
|
||||
"failed to change to process directory");
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
auto log_dir = utils::get_environment_variable("MONITARR_LOG_DIR");
|
||||
|
Loading…
x
Reference in New Issue
Block a user