aboutsummaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-10-10 04:20:21 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-10-10 04:20:21 +0000
commit5cf4aa650e78f3e78a85342e7a8b2981c0358af1 (patch)
tree802990cf39a805f253b9d32f3888a7c749babd01 /init/init.c
parentcf47f486398a8e391e22ee2497846e51c3297f2b (diff)
downloadbusybox-w32-5cf4aa650e78f3e78a85342e7a8b2981c0358af1.tar.gz
busybox-w32-5cf4aa650e78f3e78a85342e7a8b2981c0358af1.tar.bz2
busybox-w32-5cf4aa650e78f3e78a85342e7a8b2981c0358af1.zip
last_patch61 from vodz:
New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in. git-svn-id: svn://busybox.net/trunk/busybox@5640 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index 3b0a66a24..edbd90bfe 100644
--- a/init/init.c
+++ b/init/init.c
@@ -660,8 +660,7 @@ static pid_t run(struct init_action *a)
660 execve(cmdpath, cmd, environment); 660 execve(cmdpath, cmd, environment);
661 661
662 /* We're still here? Some error happened. */ 662 /* We're still here? Some error happened. */
663 message(LOG | CONSOLE, "\rBummer, could not run '%s': %s\n", cmdpath, 663 message(LOG | CONSOLE, "\rBummer, could not run '%s': %m\n", cmdpath);
664 strerror(errno));
665 _exit(-1); 664 _exit(-1);
666 } 665 }
667 sigprocmask(SIG_SETMASK, &omask, NULL); 666 sigprocmask(SIG_SETMASK, &omask, NULL);
@@ -785,8 +784,8 @@ static void exec_signal(int sig)
785 message(CONSOLE | LOG, "\rTrying to re-exec %s\n", a->command); 784 message(CONSOLE | LOG, "\rTrying to re-exec %s\n", a->command);
786 execl(a->command, a->command, NULL); 785 execl(a->command, a->command, NULL);
787 786
788 message(CONSOLE | LOG, "\rexec of '%s' failed: %s\n", 787 message(CONSOLE | LOG, "\rexec of '%s' failed: %m\n",
789 a->command, strerror(errno)); 788 a->command);
790 sync(); 789 sync();
791 sleep(2); 790 sleep(2);
792 init_reboot(RB_HALT_SYSTEM); 791 init_reboot(RB_HALT_SYSTEM);