about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-09-27 08:47:18 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-09-27 08:48:49 -0700
commit3b6002e53d82746634536cd2fda8a9dd354aaf7e (patch)
treee17f085b8f33f2e35a2f53b8a697f86bbe4227f2 /Src/exec.c
parentf0ecf54ea67c4133be02d55304f15e9f44485786 (diff)
downloadzsh-3b6002e53d82746634536cd2fda8a9dd354aaf7e.tar.gz
zsh-3b6002e53d82746634536cd2fda8a9dd354aaf7e.tar.xz
zsh-3b6002e53d82746634536cd2fda8a9dd354aaf7e.zip
39437: use list_pipe_pid in assignment for clarity
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 4e8934061..c27c41c1b 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -1702,7 +1702,7 @@ execpline(Estate state, wordcode slcode, int how, int last1)
 			    jobtab[list_pipe_job].other = newjob;
 			    jobtab[list_pipe_job].stat |= STAT_SUPERJOB;
 			    jn->stat |= STAT_SUBJOB | STAT_NOPRINT;
-			    jn->other = pid;
+			    jn->other = list_pipe_pid;	/* see zsh.h */
 			    if (hasprocs(list_pipe_job))
 				jn->gleader = jobtab[list_pipe_job].gleader;
 			}