Author: justin
Date: 2006-05-09 21:38:21 -0600 (Tue, 09 May 2006)
New Revision: 1544
Modified:
branches/6.1.1/initramfs/init.c
Log:
Fixed init.c reverted chagne for real this time.
Modified: branches/6.1.1/initramfs/init.c
===================================================================
--- branches/6.1.1/initramfs/init.c 2006-05-09 20:24:56 UTC (rev 1543)
+++ branches/6.1.1/initramfs/init.c 2006-05-10 03:38:21 UTC (rev 1544)
@@ -147,9 +147,9 @@
/* We're done! Pass control to sysvinit. */
printf("Starting init...\n");
- i = execve("/sbin/init", argv, envp);
- if (i<0)
- printf("Failed to start init: %s :(\n", strerror(errno));
+ execve("/sbin/init", argv, envp);
+ /* If execve returns, something went very wrong */
+ printf("Failed to start init: %s :(\n", strerror(errno));
return(0);
}
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page