diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-10 08:23:19 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-10 08:23:19 +0000 |
commit | 0d3528817d6f3d86d10dcf0e53b39af0945ca588 (patch) | |
tree | cf1dd3999541dc470a1b488e1113b1b2b8f3bf48 /Src/builtin.c | |
parent | 097b72b21283d8db76fcad06446228eb65a7b406 (diff) | |
download | zsh-0d3528817d6f3d86d10dcf0e53b39af0945ca588.tar.gz zsh-0d3528817d6f3d86d10dcf0e53b39af0945ca588.tar.xz zsh-0d3528817d6f3d86d10dcf0e53b39af0945ca588.zip |
zsh-workers/8607
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 6f9b1dd57..b8e76086a 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -3209,9 +3209,11 @@ zexit(int val, int from_signal) if (in_exit++ && from_signal) { LASTALLOC_RETURN; } - if (isset(MONITOR)) + if (isset(MONITOR)) { /* send SIGHUP to any jobs left running */ killrunjobs(from_signal); + errflag = 0; + } if (isset(RCS) && interact) { if (!nohistsave) savehistfile(NULL, 1, HFILE_USE_OPTIONS); |