Added _exit in Child dmlproc service

This commit is contained in:
Leonid Fedorov
2021-05-28 10:09:35 +00:00
parent 90397dfed0
commit d08eff75ba
3 changed files with 12 additions and 11 deletions

View File

@ -651,8 +651,8 @@ int ServiceDMLProc::Child()
#else
(void)::system(cmd.c_str());
#endif
}
catch (...)
{
@ -684,10 +684,8 @@ int ServiceDMLProc::Child()
setupChildSignalHandlers();
dmlserver.start();
_exit(dmlserver.start());
// WIP the rc looks misguiding b/c DMLProc now can legitimately quits from DMLServer::start()
// so Child() should return dmlserver.start().
return 1;
}