diff options
author | jkh <jkh@FreeBSD.org> | 1997-10-13 15:03:55 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-10-13 15:03:55 +0000 |
commit | 4b318a582678d8f68d483f6a6e26bed4605e1bb2 (patch) | |
tree | 616a602eaba10b4a9566eeba12230e573af92805 /usr.sbin/pkg_install/info/perform.c | |
parent | f71ea4919aca593ee0fd403a76ddb6b0113b7ba6 (diff) | |
download | FreeBSD-src-4b318a582678d8f68d483f6a6e26bed4605e1bb2.zip FreeBSD-src-4b318a582678d8f68d483f6a6e26bed4605e1bb2.tar.gz |
Don't return from cleanup() - if it's removed the playpen then very
bad things will happen if we return to unsuspecting code.
Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org>
Diffstat (limited to 'usr.sbin/pkg_install/info/perform.c')
-rw-r--r-- | usr.sbin/pkg_install/info/perform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c index 25d0328..5625f62 100644 --- a/usr.sbin/pkg_install/info/perform.c +++ b/usr.sbin/pkg_install/info/perform.c @@ -1,6 +1,6 @@ #ifndef lint static const char rcsid[] = - "$Id: perform.c,v 1.21 1997/02/22 16:09:42 peter Exp $"; + "$Id: perform.c,v 1.22 1997/10/08 07:47:29 charnier Exp $"; #endif /* @@ -202,4 +202,5 @@ void cleanup(int sig) { leave_playpen(Home); + exit(1); } |