aboutsummaryrefslogtreecommitdiff
path: root/util-linux/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/script.c')
-rw-r--r--util-linux/script.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/util-linux/script.c b/util-linux/script.c
index d9a62fbfe..c23117cf3 100644
--- a/util-linux/script.c
+++ b/util-linux/script.c
@@ -88,10 +88,7 @@ int script_main(int argc UNUSED_PARAM, char **argv)
88 88
89 /* TODO: SIGWINCH? pass window size changes down to slave? */ 89 /* TODO: SIGWINCH? pass window size changes down to slave? */
90 90
91 child_pid = vfork(); 91 child_pid = xvfork();
92 if (child_pid < 0) {
93 bb_perror_msg_and_die("vfork");
94 }
95 92
96 if (child_pid) { 93 if (child_pid) {
97 /* parent */ 94 /* parent */