ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/main.C
(Generate patch)

Comparing deliantra/server/server/main.C (file contents):
Revision 1.84 by root, Sat Jan 13 23:45:46 2007 UTC vs.
Revision 1.85 by root, Mon Jan 15 02:39:41 2007 UTC

466/* clean up everything before exiting */ 466/* clean up everything before exiting */
467void 467void
468cleanup (const char *cause, bool make_core) 468cleanup (const char *cause, bool make_core)
469{ 469{
470 if (make_core) 470 if (make_core)
471 if (!fork ()) 471 fork_abort (cause);
472 abort ();
473 472
474 LOG (llevError, "cleanup cause: %s\n", cause); 473 LOG (llevError, "cleanup cause: %s\n", cause);
475 474
476 if (!make_core) 475 if (!make_core)
477 cleanup_inform (cause, make_core); 476 cleanup_inform (cause, make_core);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines