summaryrefslogtreecommitdiffstats
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authornicm <nicm>2015-09-16 22:24:54 +0000
committernicm <nicm>2015-09-16 22:24:54 +0000
commita4b4b299875d833019cb829ca1bee41d71724f37 (patch)
treedd87a7c2c05f91af465327d91b28e0d469aaf883 /cmd-run-shell.c
parent16ee4de5df3c31e362ed095e3feae1b504ddf1c5 (diff)
Rename cmd_q dead flag to a general flags bitmask (will be more flags later).
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;