aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/init/main.c b/init/main.c
index a29fb2ac7240..e4dbcbcd26cf 100644
--- a/init/main.c
+++ b/init/main.c
@@ -708,10 +708,11 @@ static int init(void * unused)
708 * The Bourne shell can be used instead of init if we are 708 * The Bourne shell can be used instead of init if we are
709 * trying to recover a really broken machine. 709 * trying to recover a really broken machine.
710 */ 710 */
711 711 if (execute_command) {
712 if (execute_command)
713 run_init_process(execute_command); 712 run_init_process(execute_command);
714 713 printk(KERN_WARNING "Failed to execute %s. Attempting "
714 "defaults...\n", execute_command);
715 }
715 run_init_process("/sbin/init"); 716 run_init_process("/sbin/init");
716 run_init_process("/etc/init"); 717 run_init_process("/etc/init");
717 run_init_process("/bin/init"); 718 run_init_process("/bin/init");