summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/info
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-26 05:04:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-26 05:04:34 +0000
commit42c156187e1501831aed701070935c6e1cc4fcb3 (patch)
tree604514bb78ab651f88a031808e09ad4ab444c6b4 /usr.sbin/pkg_install/info
parenta97cf58f2b9ffb68f4c476a5bd2e42a6e0d1648c (diff)
mostly mark signal races
Diffstat (limited to 'usr.sbin/pkg_install/info')
-rw-r--r--usr.sbin/pkg_install/info/perform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c
index 83f09fe2845..14d987277b6 100644
--- a/usr.sbin/pkg_install/info/perform.c
+++ b/usr.sbin/pkg_install/info/perform.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: perform.c,v 1.10 2001/04/18 14:34:31 espie Exp $ */
+/* $OpenBSD: perform.c,v 1.11 2001/11/26 05:04:33 deraadt Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: perform.c,v 1.10 2001/04/18 14:34:31 espie Exp $";
+static const char *rcsid = "$OpenBSD: perform.c,v 1.11 2001/11/26 05:04:33 deraadt Exp $";
#endif
/* This is OpenBSD pkg_install, based on:
@@ -255,8 +255,8 @@ check4pkg(char *pkgspec, char *dbdir)
void
cleanup(int sig)
{
- leave_playpen(Home);
- exit(1);
+ leave_playpen(Home); /* XXX signal race */
+ _exit(1);
}
int