mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 21:57:37 +02:00
Rename cmd_q dead flag to a general flags bitmask (will be more flags later).
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user