about summary refs log tree commit diff
path: root/Src/signals.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-30 06:11:58 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-30 06:11:58 +0000
commit72348f15d268d8dc4c73acf643216256e527c22e (patch)
tree2402caaf8b7238a042f7127ffed75e70ad883fb8 /Src/signals.c
parent6e8cfbd006329fc181e772f3ad5e5ecb2853bc31 (diff)
downloadzsh-72348f15d268d8dc4c73acf643216256e527c22e.tar.gz
zsh-72348f15d268d8dc4c73acf643216256e527c22e.tar.xz
zsh-72348f15d268d8dc4c73acf643216256e527c22e.zip
zsh-3.1.6-pws-10 zsh-3.1.6-pws-10
Diffstat (limited to 'Src/signals.c')
-rw-r--r--Src/signals.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/signals.c b/Src/signals.c
index 8908a7958..5a2d62c25 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -572,8 +572,7 @@ killrunjobs(int from_signal)
         if ((from_signal || i != thisjob) && (jobtab[i].stat & STAT_LOCKED) &&
             !(jobtab[i].stat & STAT_NOPRINT) &&
             !(jobtab[i].stat & STAT_STOPPED)) {
-            if (jobtab[i].gleader != getpid() &&
-		killpg(jobtab[i].gleader, SIGHUP) != -1)
+            if (killpg(jobtab[i].gleader, SIGHUP) != -1)
                 killed++;
         }
     if (killed)