0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-23 05:13:48 +02:00

construct: Return from main() for future compat.

This commit is contained in:
Jason Volk 2019-05-09 16:56:42 -07:00
parent 1ae664f6a0
commit 56b63be2aa

View file

@ -204,6 +204,8 @@ noexcept try
// calls ircd::quit() to clean break from the run() loop.
if(ircd::restart)
ircd::syscall(::execve, _argv[0], _argv, _envp);
return EXIT_SUCCESS;
}
catch(const ircd::user_error &e)
{