summaryrefslogtreecommitdiffstats
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-11 09:04:33 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-11 09:04:33 +0000
commit88f3ffe86ead70d37c918c7c33970929c481f9ee (patch)
tree5cea169fb5fdd397358ffcf0d3416943172d8f2f /cmd-run-shell.c
parentcebc988dd4b8372b84747a132d0e2babaa84e988 (diff)
Remove a debugging leftover and add copyright.
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r--cmd-run-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c
index d00571a2..ca414dc8 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -2,6 +2,7 @@
/*
* 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
* purpose with or without fee is hereby granted, provided that the above
@@ -126,7 +127,6 @@ cmd_run_shell_free(void *data)
struct cmd_run_shell_data *cdata = data;
struct cmd_ctx *ctx = &cdata->ctx;
- return;
if (ctx->cmdclient != NULL) {
ctx->cmdclient->references--;
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);