diff options
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r-- | cmd-if-shell.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c index 367bb691..bf60fb23 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -109,8 +109,7 @@ cmd_if_shell_free(void *data) if (ctx->cmdclient != NULL) { ctx->cmdclient->references--; exitdata.retcode = ctx->cmdclient->retcode; - server_write_client( - ctx->cmdclient, MSG_EXIT, &exitdata, sizeof exitdata); + ctx->cmdclient->flags |= CLIENT_EXIT; } if (ctx->curclient != NULL) ctx->curclient->references--; |