mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-04-21 20:05:43 +00:00
maint: use constants
This commit is contained in:
parent
af45518377
commit
13cf8cc6a4
@ -120,7 +120,7 @@ int main(const int argc, const char** argv)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
usage(argv[0]);
|
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)
|
catch (const std::exception& ex)
|
||||||
{
|
{
|
||||||
console::error("Fatal error: %s", ex.what());
|
console::error("Fatal error: %s", ex.what());
|
||||||
return -1;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
console::log("Terminating tool...");
|
console::log("Terminating tool...");
|
||||||
return 0;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user