From 9b7a5f39380ca50f0efbb30689cd3ca97bac3920 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 23 Oct 2006 22:27:09 +0000 Subject: returning in the child process is a very bad idea! --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index b9edca2..f7d23b8 100644 --- a/tty.c +++ b/tty.c @@ -57,7 +57,7 @@ int uutty_open(char **cmd, int w, int h) if (!s) s = "/bin/sh"; execl(s, s, (char *)0); } - return 1; + _Exit(1); } uutty_resize(ptm, w, h); -- cgit v1.2.3