summaryrefslogtreecommitdiffstats
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authornicm <nicm>2016-04-29 14:05:24 +0000
committernicm <nicm>2016-04-29 14:05:24 +0000
commit0d84fdd95303a6ed4dcd761425e35f3731b86725 (patch)
tree3c1c65d16677c6b7aa579c8bf6500331ec08db47 /cmd-if-shell.c
parentc5443da2d3bd5ef2464cc59941e55890aaff3fb0 (diff)
Final parts of command hooks, add before- and after- hooks to each command.
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;