Revision: 23614 http://trac.macosforge.org/projects/launchd/changeset/23614 Author: zarzycki@apple.com Date: 2008-04-30 14:32:53 -0700 (Wed, 30 Apr 2008) Log Message: ----------- <rdar://problem/5865623> Boot fail count doesn't increase with unclean-boot issue Modified Paths: -------------- branches/SULeopard/launchd/src/launchctl.c Modified: branches/SULeopard/launchd/src/launchctl.c =================================================================== --- branches/SULeopard/launchd/src/launchctl.c 2008-04-30 21:14:41 UTC (rev 23613) +++ branches/SULeopard/launchd/src/launchctl.c 2008-04-30 21:32:53 UTC (rev 23614) @@ -2805,7 +2805,10 @@ #if TARGET_OS_EMBEDDED if (path_check("/etc/fstab")) { const char *mount_tool[] = { "mount", "-vat", "nonfs", NULL }; - assumes(fwexec(mount_tool, true) != -1); + if (!assumes(fwexec(mount_tool, true) != -1)) { + assumes(fwexec(nvram_tool, true) != -1); + assumes(reboot(RB_AUTOBOOT) != -1); + } } else #endif {
participants (1)
-
source_changes@macosforge.org