mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Don't print error if none to print.
This commit is contained in:
parent
62d3af17f9
commit
ac8678aefe
1 changed files with 1 additions and 1 deletions
2
client.c
2
client.c
|
|
@ -373,7 +373,7 @@ client_main(struct event_base *base, int argc, char **argv, int flags,
|
|||
printf("%%exit\n");
|
||||
printf("\033\\");
|
||||
tcsetattr(STDOUT_FILENO, TCSAFLUSH, &saved_tio);
|
||||
} else
|
||||
} else if (client_exitreason != CLIENT_EXIT_NONE)
|
||||
fprintf(stderr, "%s\n", client_exit_message());
|
||||
setblocking(STDIN_FILENO, 1);
|
||||
return (client_exitval);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue