www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre19/doc/devel/problems.occured.text
Nico Schottelius 7c47ae1c48 update to cinit-0.3pre19
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-30 07:27:49 +01:00

13 lines
455 B
Text

It sometimes looked like the child() from fork() returned earlier
then the fork() call -- is that possible?
if(li->status == FE_NOT) {
svc_report_status(li->abs_path, "Nothing to execute :-)");
/*
* probably a problem: we exit too fast, cinit does not yet have us in
* the process list. is that possible? => catch with sleep
*/
// sleep(2);
_exit(0); /* nothing there? fine! */
}