summaryrefslogtreecommitdiff
path: root/init/bootchartd.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/bootchartd.c')
-rw-r--r--init/bootchartd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c
index 42b98c8..b3e08af 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -427,9 +427,7 @@ int bootchartd_main(int argc UNUSED_PARAM, char **argv)
}
if (cmd == CMD_START && argv[2]) { /* "start PROG ARGS" */
- pid_t pid = vfork();
- if (pid < 0)
- bb_perror_msg_and_die("vfork");
+ pid_t pid = xvfork();
if (pid == 0) { /* child */
argv += 2;
execvp(argv[0], argv);