diff options
author | 2019-06-18 11:08:42 +0000 | |
---|---|---|
committer | 2019-06-18 11:08:42 +0000 | |
commit | 780ca620f1c716c2970da67fa9e9172129a7e3d1 (patch) | |
tree | 044e1e90945d435fef72b6aaed82bd82899f9fce /usr.bin/tmux/cmd-if-shell.c | |
parent | Ensure the length passed to ffs_truncate() is within bounds before calling (diff) | |
download | wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.tar.xz wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.zip |
Add a cmdq_continue function rather than twiddling the flag directly.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-if-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c index 7c366f3c179..0f75678a165 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.63 2019/06/12 08:47:07 nicm Exp $ */ +/* $OpenBSD: cmd-if-shell.c,v 1.64 2019/06/18 11:08:42 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -196,7 +196,7 @@ cmd_if_shell_callback(struct job *job) out: if (cdata->item != NULL) - cdata->item->flags &= ~CMDQ_WAITING; + cmdq_continue(cdata->item); } static void |