version 1.2, 2009/10/11 08:58:05 |
version 1.3, 2009/10/11 09:04:33 |
|
|
|
|
/* |
/* |
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> |
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> |
|
* Copyright (c) 2009 Nicholas Marriott <nicm@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
struct cmd_run_shell_data *cdata = data; |
struct cmd_run_shell_data *cdata = data; |
struct cmd_ctx *ctx = &cdata->ctx; |
struct cmd_ctx *ctx = &cdata->ctx; |
|
|
return; |
|
if (ctx->cmdclient != NULL) { |
if (ctx->cmdclient != NULL) { |
ctx->cmdclient->references--; |
ctx->cmdclient->references--; |
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |