maint: use constants

This commit is contained in:
6arelyFuture 2023-01-10 12:24:34 +01:00 committed by GitHub
parent af45518377
commit 13cf8cc6a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ int main(const int argc, const char** argv)
else
{
usage(argv[0]);
return -1;
return EXIT_FAILURE;
}
}
@ -131,9 +131,9 @@ int main(const int argc, const char** argv)
catch (const std::exception& ex)
{
console::error("Fatal error: %s", ex.what());
return -1;
return EXIT_FAILURE;
}
console::log("Terminating tool...");
return 0;
return EXIT_SUCCESS;
}