summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-if-shell.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-04-29 14:05:24 +0000
committernicm <nicm@openbsd.org>2016-04-29 14:05:24 +0000
commit39ed82a7040e93ce32e5a1cd9557175c611d0e2c (patch)
treee09b293158662d4ae44f1dea96f38452b0080e63 /usr.bin/tmux/cmd-if-shell.c
parentPanic when attempting to execute a scsi command with no discipline (diff)
downloadwireguard-openbsd-39ed82a7040e93ce32e5a1cd9557175c611d0e2c.tar.xz
wireguard-openbsd-39ed82a7040e93ce32e5a1cd9557175c611d0e2c.zip
Final parts of command hooks, add before- and after- hooks to each command.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r--usr.bin/tmux/cmd-if-shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c
index 902264c2415..5c9185774f6 100644
--- a/usr.bin/tmux/cmd-if-shell.c
+++ b/usr.bin/tmux/cmd-if-shell.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-if-shell.c,v 1.41 2016/03/01 12:06:07 nicm Exp $ */
+/* $OpenBSD: cmd-if-shell.c,v 1.42 2016/04/29 14:05:24 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -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;