aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-09-17 00:01:08 +0100
committerThomas Adam <thomas@xteddy.org>2015-09-17 00:01:08 +0100
commita3bce7a3223dcd3e886777190ea64e27a3595a4f (patch)
tree821e3c63abe986591a9865bd9ab4e31b34032fa8 /cmd-if-shell.c
parent57ad1f6ddf0776a2115b3bf62d58744666b1b283 (diff)
parentc1d0b6a6eed2fd393ea30d257ce147e8f6b5e6c8 (diff)
downloadrtmux-a3bce7a3223dcd3e886777190ea64e27a3595a4f.tar.gz
rtmux-a3bce7a3223dcd3e886777190ea64e27a3595a4f.tar.bz2
rtmux-a3bce7a3223dcd3e886777190ea64e27a3595a4f.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r--cmd-if-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index a307bd2f..0271fdea 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -143,7 +143,7 @@ cmd_if_shell_callback(struct job *job)
struct cmd_list *cmdlist;
char *cause, *cmd;
- if (cmdq->dead)
+ if (cmdq->flags & CMD_Q_DEAD)
return;
if (!WIFEXITED(job->status) || WEXITSTATUS(job->status) != 0)