mirror of
https://github.com/matrix-construct/construct
synced 2024-06-15 16:38:20 +02:00
construct: Return from main() for future compat.
This commit is contained in:
parent
1ae664f6a0
commit
56b63be2aa
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue