mirror of
https://github.com/matrix-construct/construct
synced 2024-09-23 08:58:53 +02:00
construct: Return from main() for future compat.
This commit is contained in:
parent
1ae664f6a0
commit
56b63be2aa
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ noexcept try
|
||||||
// calls ircd::quit() to clean break from the run() loop.
|
// calls ircd::quit() to clean break from the run() loop.
|
||||||
if(ircd::restart)
|
if(ircd::restart)
|
||||||
ircd::syscall(::execve, _argv[0], _argv, _envp);
|
ircd::syscall(::execve, _argv[0], _argv, _envp);
|
||||||
|
|
||||||
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
catch(const ircd::user_error &e)
|
catch(const ircd::user_error &e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue