mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
19140: release process group on exit if acquired
This commit is contained in:
parent
796c38ccd5
commit
8860363e5c
@ -1,3 +1,8 @@
|
||||
2004-03-16 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 19140 (patch reversed): Nicholas George: Src/builtin.c: Release
|
||||
process group on shell exit if acquired.
|
||||
|
||||
2004-03-14 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* unposted: LICENCE: update year to 2004
|
||||
|
@ -4051,6 +4051,9 @@ zexit(int val, int from_where)
|
||||
if (sigtrapped[SIGEXIT])
|
||||
dotrap(SIGEXIT);
|
||||
runhookdef(EXITHOOK, NULL);
|
||||
if (opts[MONITOR] && interact && (SHTTY != -1)) {
|
||||
release_pgrp();
|
||||
}
|
||||
if (mypid != getpid())
|
||||
_exit(val);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user