summaryrefslogtreecommitdiffstats
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authornicm <nicm>2019-06-18 11:08:42 +0000
committernicm <nicm>2019-06-18 11:08:42 +0000
commit9272fe36e2e36789342337d81914008826499941 (patch)
tree754612843b49e5d1546b5f81cf3d969b6a666290 /cmd-run-shell.c
parent03da0ced46e0ddcfbdcc6d580d906f47279cabcd (diff)
Add a cmdq_continue function rather than twiddling the flag directly.
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 c9a478c7..2f45f492 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -155,7 +155,7 @@ cmd_run_shell_callback(struct job *job)
free(msg);
if (cdata->item != NULL)
- cdata->item->flags &= ~CMDQ_WAITING;
+ cmdq_continue(cdata->item);
}
static void