From 100ec257e2a979e5345e8ce0af3d073f8777f545 Mon Sep 17 00:00:00 2001 From: "Avery, Brian" Date: Tue, 6 Sep 2005 15:16:56 -0700 Subject: [PATCH] --- yaml --- r: 7349 b: refs/heads/master c: c1d7ef70a71eb54fb389a9a411d331661be73056 h: refs/heads/master i: 7347: f342c588619cf71cb592a9b728782158b2910d53 v: v3 --- [refs] | 2 +- trunk/init/main.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index a0336831a025..3f2f8be1eed5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8fc2751beb0941966d3a97b26544e8585e428c08 +refs/heads/master: c1d7ef70a71eb54fb389a9a411d331661be73056 diff --git a/trunk/init/main.c b/trunk/init/main.c index a29fb2ac7240..e4dbcbcd26cf 100644 --- a/trunk/init/main.c +++ b/trunk/init/main.c @@ -708,10 +708,11 @@ static int init(void * unused) * The Bourne shell can be used instead of init if we are * trying to recover a really broken machine. */ - - if (execute_command) + if (execute_command) { run_init_process(execute_command); - + printk(KERN_WARNING "Failed to execute %s. Attempting " + "defaults...\n", execute_command); + } run_init_process("/sbin/init"); run_init_process("/etc/init"); run_init_process("/bin/init");