diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-12 08:39:20 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-12 20:42:53 +0000 |
| commit | 64a60d12f0f8b8cec55795818b0b7d008b66ae3c (patch) | |
| tree | d6bb69a4d3a47575598be77fc67fbd858b30bb34 /server.c | |
| parent | user-notification: add new function ‘user_notification_add()’ (diff) | |
server: send exit-code -1 when we fail to instantiate a new terminal
Diffstat (limited to 'server.c')
| -rw-r--r-- | server.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |
