summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-if-shell.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-09-16 22:24:54 +0000
committernicm <nicm@openbsd.org>2015-09-16 22:24:54 +0000
commit722808c8fad8653f891591b755e7ea698c962495 (patch)
tree984adc266a23de5c15777fccbb1bd2aa4b60f8d1 /usr.bin/tmux/cmd-if-shell.c
parentAnother ifmedia64 fix, this time for bgpd's ift2ifm(). (diff)
downloadwireguard-openbsd-722808c8fad8653f891591b755e7ea698c962495.tar.xz
wireguard-openbsd-722808c8fad8653f891591b755e7ea698c962495.zip
Rename cmd_q dead flag to a general flags bitmask (will be more flags later).
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r--usr.bin/tmux/cmd-if-shell.c4
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 507ecb5a4a0..fdac5bd188e 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.32 2015/04/24 22:19:36 nicm Exp $ */
+/* $OpenBSD: cmd-if-shell.c,v 1.33 2015/09/16 22:24:54 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -143,7 +143,7 @@ cmd_if_shell_callback(struct job *job)
struct cmd_list *cmdlist;
char *cause, *cmd;
- if (cmdq->dead)
+ if (cmdq->flags & CMD_Q_DEAD)
return;
if (!WIFEXITED(job->status) || WEXITSTATUS(job->status) != 0)