Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7349
b: refs/heads/master
c: c1d7ef7
h: refs/heads/master
i:
  7347: f342c58
v: v3
  • Loading branch information
Avery, Brian authored and Linus Torvalds committed Sep 7, 2005
1 parent dbd2e21 commit 100ec25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fc2751beb0941966d3a97b26544e8585e428c08
refs/heads/master: c1d7ef70a71eb54fb389a9a411d331661be73056
7 changes: 4 additions & 3 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 100ec25

Please sign in to comment.