Revision
23449
Author
zarzycki@apple.com
Date
2007-11-13 10:54:51 -0800 (Tue, 13 Nov 2007)

Log Message

<rdar://problem/5567165> SULeoNext: do not stop boot if fsck_hfs repair fails on journaled boot volume

Modified Paths

Diff

Modified: branches/SULeopard/launchd/src/launchctl.c (23448 => 23449)


--- branches/SULeopard/launchd/src/launchctl.c	2007-11-13 18:53:47 UTC (rev 23448)
+++ branches/SULeopard/launchd/src/launchctl.c	2007-11-13 18:54:51 UTC (rev 23449)
@@ -2764,8 +2764,11 @@
 		goto out;
 	}
 
-	fprintf(stderr, "fsck failed! Leaving the root file system read-only...\n");
+	fprintf(stderr, "fsck failed!\n");
 
+	/* someday, we should keep booting read-only, but as of today, other sub-systems cannot handle that scenario */
+	assumes(reboot(RB_HALT) != -1);
+
 	return;
 out:
 	/*