[launchd-changes] [23094] trunk/launchd/src/launchd.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 21 10:19:10 PST 2007


Revision: 23094
          http://trac.macosforge.org/projects/launchd/changeset/23094
Author:   zarzycki at apple.com
Date:     2007-02-21 10:19:10 -0800 (Wed, 21 Feb 2007)

Log Message:
-----------
It would be better if we just reboot.

Modified Paths:
--------------
    trunk/launchd/src/launchd.c

Modified: trunk/launchd/src/launchd.c
===================================================================
--- trunk/launchd/src/launchd.c	2007-02-20 18:15:13 UTC (rev 23093)
+++ trunk/launchd/src/launchd.c	2007-02-21 18:19:10 UTC (rev 23094)
@@ -217,11 +217,7 @@
 		runtime_syslog(LOG_EMERG, "We crashed %s: %p (sent by PID %u)", doom_why, crash_addr, crash_pid);
 		sync();
 		sleep(3);
-		/* the kernel will panic() when PID 1 exits */
-		_exit(EXIT_FAILURE);
-		/* we should never get here */
 		reboot(0);
-		/* or here either */
 		break;
 	}
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070221/ca42bb00/attachment.html


More information about the launchd-changes mailing list