diff options
author | 2016-04-29 14:05:24 +0000 | |
---|---|---|
committer | 2016-04-29 14:05:24 +0000 | |
commit | 39ed82a7040e93ce32e5a1cd9557175c611d0e2c (patch) | |
tree | e09b293158662d4ae44f1dea96f38452b0080e63 /usr.bin/tmux/cmd-source-file.c | |
parent | Panic when attempting to execute a scsi command with no discipline (diff) | |
download | wireguard-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-source-file.c')
-rw-r--r-- | usr.bin/tmux/cmd-source-file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-source-file.c b/usr.bin/tmux/cmd-source-file.c index 9255b5537df..31a1eaca606 100644 --- a/usr.bin/tmux/cmd-source-file.c +++ b/usr.bin/tmux/cmd-source-file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-source-file.c,v 1.23 2015/12/13 21:53:57 nicm Exp $ */ +/* $OpenBSD: cmd-source-file.c,v 1.24 2016/04/29 14:05:24 nicm Exp $ */ /* * Copyright (c) 2008 Tiago Cunha <me@tiagocunha.org> @@ -49,6 +49,7 @@ cmd_source_file_exec(struct cmd *self, struct cmd_q *cmdq) char *cause; cmdq1 = cmdq_new(cmdq->client); + cmdq1->flags |= cmdq->flags & CMD_Q_NOHOOKS; cmdq1->emptyfn = cmd_source_file_done; cmdq1->data = cmdq; |