diff options
author | cracauer <cracauer@FreeBSD.org> | 1998-08-25 08:49:47 +0000 |
---|---|---|
committer | cracauer <cracauer@FreeBSD.org> | 1998-08-25 08:49:47 +0000 |
commit | 3fc10b771999799e730d32054e38d93549b76b73 (patch) | |
tree | c896a6426a7211fa9e39628644f643d6d5ffed8a /bin/sh | |
parent | 55dcde8578ed5bb4961a0f4e5e5ba72bd3e76615 (diff) | |
download | FreeBSD-src-3fc10b771999799e730d32054e38d93549b76b73.zip FreeBSD-src-3fc10b771999799e730d32054e38d93549b76b73.tar.gz |
Re-enable killing childs with SIGQUIT. Spotted by Bruce Evans.
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/trap.c b/bin/sh/trap.c index c3ab48a..58151f4 100644 --- a/bin/sh/trap.c +++ b/bin/sh/trap.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)trap.c 8.5 (Berkeley) 6/5/95"; #endif static const char rcsid[] = - "$Id: trap.c,v 1.11 1998/05/18 06:44:22 charnier Exp $"; + "$Id: trap.c,v 1.12 1998/08/24 10:20:36 cracauer Exp $"; #endif /* not lint */ #include <signal.h> @@ -237,7 +237,7 @@ setsignal(signo) break; } #endif - action = S_IGN; + action = S_CATCH; break; case SIGTERM: if (rootshell && iflag) |