aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r--cmd-if-shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 3e2a5251..2f47a0d7 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -157,6 +157,7 @@ cmd_if_shell_callback(struct job *job)
}
cmdq1 = cmdq_new(cmdq->client);
+ cmdq1->flags |= cmdq->flags & CMD_Q_NOHOOKS;
cmdq1->emptyfn = cmd_if_shell_done;
cmdq1->data = cdata;