mirror of
https://github.com/tmux/tmux.git
synced 2024-11-05 18:38:48 +00:00
retcode -> retval for exit message.
This commit is contained in:
parent
01a4752503
commit
3fba377ddd
@ -143,7 +143,7 @@ cmdq_error(struct cmd_q *cmdq, const char *fmt, ...)
|
||||
evbuffer_add(c->stderr_data, "\n", 1);
|
||||
|
||||
server_push_stderr(c);
|
||||
c->retcode = 1;
|
||||
c->retval = 1;
|
||||
} else {
|
||||
*msg = toupper((u_char) *msg);
|
||||
status_message_set(c, "%s", msg);
|
||||
|
@ -707,7 +707,7 @@ server_client_check_exit(struct client *c)
|
||||
if (EVBUFFER_LENGTH(c->stderr_data) != 0)
|
||||
return;
|
||||
|
||||
exitdata.retcode = c->retcode;
|
||||
exitdata.retcode = c->retval;
|
||||
server_write_client(c, MSG_EXIT, &exitdata, sizeof exitdata);
|
||||
|
||||
c->flags &= ~CLIENT_EXIT;
|
||||
|
Loading…
Reference in New Issue
Block a user