From 98535b7c16eaa01c99cf50771b7fd8c80c33e3ec Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 21 Dec 2010 18:45:55 +0000 Subject: parent_exit() signal handler must use _exit() not exit() --- usr.sbin/amd/amd/amd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/amd') diff --git a/usr.sbin/amd/amd/amd.c b/usr.sbin/amd/amd/amd.c index a71f5ea60d3..558fa7115c9 100644 --- a/usr.sbin/amd/amd/amd.c +++ b/usr.sbin/amd/amd/amd.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)amd.c 8.1 (Berkeley) 6/6/93 - * $Id: amd.c,v 1.16 2009/10/27 23:59:50 deraadt Exp $ + * $Id: amd.c,v 1.17 2010/12/21 18:45:54 deraadt Exp $ */ /* @@ -132,7 +132,7 @@ sighup(int sig) static void parent_exit(int sig) { - exit(0); + _exit(0); } static pid_t -- cgit v1.2.3