diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-10-14 02:01:14 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-10-14 02:01:14 +0100 |
commit | 117737c6cae90d8c53c73fd2440eec17def10bb1 (patch) | |
tree | bcc25aa554c0c0ce9456c629e29dc5d58ba54df0 /hooks.c | |
parent | a7ce19347a81282b82db1663eed5fd8dd00e927f (diff) | |
parent | 4289a1ebfa7479413ec5ac543b88c4ea039d00a0 (diff) | |
download | rtmux-117737c6cae90d8c53c73fd2440eec17def10bb1.tar.gz rtmux-117737c6cae90d8c53c73fd2440eec17def10bb1.tar.bz2 rtmux-117737c6cae90d8c53c73fd2440eec17def10bb1.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'hooks.c')
-rw-r--r-- | hooks.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -196,6 +196,9 @@ hooks_wait(struct hooks *hooks, struct cmd_q *cmdq, struct cmd_find_state *fs, va_list ap; char *name; + if (cmdq->flags & CMD_Q_NOHOOKS) + return (-1); + va_start(ap, fmt); xvasprintf(&name, fmt, ap); va_end(ap); |