mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
server: send exit-code -1 when we fail to instantiate a new terminal
This commit is contained in:
parent
2a99c5a093
commit
64a60d12f0
1 changed files with 1 additions and 0 deletions
1
server.c
1
server.c
|
|
@ -275,6 +275,7 @@ fdm_client(struct fdm *fdm, int fd, int events, void *data)
|
|||
|
||||
if (client->term == NULL) {
|
||||
LOG_ERR("failed to instantiate new terminal");
|
||||
client_send_exit_code(client, -1);
|
||||
goto shutdown;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue