summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-15 19:32:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-15 19:32:14 +0000
commit99f51f841264d8a8b02dbb59090bfc5bd3ea31a9 (patch)
tree904541ac4120a2d7d0aaa0e3ed4bda02360b6b83 /bin
parent524ed6375169a030500fbbcbe524253c7eb45333 (diff)
use _exit() in signal handler, still a race because of warnx()...
Diffstat (limited to 'bin')
-rw-r--r--bin/rcp/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/rcp/util.c b/bin/rcp/util.c
index 7d268a5e78c..cf86fa02122 100644
--- a/bin/rcp/util.c
+++ b/bin/rcp/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.6 1998/08/15 20:14:08 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.7 2001/01/15 19:32:13 deraadt Exp $ */
/* $NetBSD: util.c,v 1.2 1995/03/21 08:19:08 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: util.c,v 1.6 1998/08/15 20:14:08 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: util.c,v 1.7 2001/01/15 19:32:13 deraadt Exp $";
#endif
#endif /* not lint */
@@ -173,5 +173,5 @@ lostconn(signo)
{
if (!iamremote)
warnx("lost connection");
- exit(1);
+ _exit(1);
}