diff options
author | nicm <nicm> | 2021-02-12 06:52:48 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-02-12 06:52:48 +0000 |
commit | 632636dba535468d8266ad44c099f1217f1e3ea5 (patch) | |
tree | 58424b7a091c5a1388a65345479dcd1c0a3c20f7 /client.c | |
parent | 2b58c226db055eff4bbb971fa00938b42690f4ac (diff) |
Do not care about the server socket closing if exiting anyway.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -553,8 +553,10 @@ static void client_dispatch(struct imsg *imsg, __unused void *arg) { if (imsg == NULL) { - client_exitreason = CLIENT_EXIT_LOST_SERVER; - client_exitval = 1; + if (!client_exitflag) { + client_exitreason = CLIENT_EXIT_LOST_SERVER; + client_exitval = 1; + } proc_exit(client_proc); return; } |