diff options
author | jkh <jkh@FreeBSD.org> | 1998-09-11 07:26:58 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-09-11 07:26:58 +0000 |
commit | dad2df585cf830423608e2027120a5a34082d64a (patch) | |
tree | 9c49a1ce1161dfa3570080dd96d4c7194c4a8320 /usr.sbin/pkg_install/info/perform.c | |
parent | 806b06993b8d6cf5a89015512afb8bd253173403 (diff) | |
download | FreeBSD-src-dad2df585cf830423608e2027120a5a34082d64a.zip FreeBSD-src-dad2df585cf830423608e2027120a5a34082d64a.tar.gz |
correct usage of cleanup() everywhere - this became bogus when the warnx/errx
stuff was added and nobody seems to have noticed. :)
Noticed by: Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
Diffstat (limited to 'usr.sbin/pkg_install/info/perform.c')
-rw-r--r-- | usr.sbin/pkg_install/info/perform.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c index 1d7f14f..c409fe7 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.23 1997/10/13 15:03:53 jkh Exp $"; + "$Id: perform.c,v 1.24 1998/02/16 17:16:38 jkh Exp $"; #endif /* @@ -207,5 +207,6 @@ cleanup(int sig) in_cleanup = 1; leave_playpen(); } - exit(1); + if (sig) + exit(1); } |