From 4b04812d48ab55704a52929c162801889cfb7315 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 2 Nov 2001 16:20:14 +0000 Subject: _exit() in signal handler --- usr.sbin/wsmoused/wsmoused.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/wsmoused') diff --git a/usr.sbin/wsmoused/wsmoused.c b/usr.sbin/wsmoused/wsmoused.c index d0a80dbb2f6..65561f132cf 100644 --- a/usr.sbin/wsmoused/wsmoused.c +++ b/usr.sbin/wsmoused/wsmoused.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmoused.c,v 1.5 2001/09/20 21:22:16 miod Exp $ */ +/* $OpenBSD: wsmoused.c,v 1.6 2001/11/02 16:19:48 deraadt Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -231,7 +231,7 @@ terminate(int sig) mouse.mfd = -1; } unlink(pidfile); - exit(0); + _exit(0); } /* buttons status (for multiple click detection) */ -- cgit v1.2.3