aboutsummaryrefslogtreecommitdiff
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r--cmd-run-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c
index 134cbeba..17ac0f76 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -131,7 +131,7 @@ cmd_run_shell_callback(struct job *job)
int retcode;
u_int lines;
- if (cmdq->dead)
+ if (cmdq->flags & CMD_Q_DEAD)
return;
cmd = cdata->cmd;