diff options
Diffstat (limited to 'cmd-kill-server.c')
-rw-r--r-- | cmd-kill-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-kill-server.c b/cmd-kill-server.c index a53718b3..16f559ad 100644 --- a/cmd-kill-server.c +++ b/cmd-kill-server.c @@ -1,4 +1,4 @@ -/* $Id: cmd-kill-server.c,v 1.8 2009-07-28 22:12:16 tcunha Exp $ */ +/* $Id: cmd-kill-server.c,v 1.9 2009-11-08 22:40:36 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -43,7 +43,7 @@ const struct cmd_entry cmd_kill_server_entry = { int cmd_kill_server_exec(unused struct cmd *self, unused struct cmd_ctx *ctx) { - sigterm = 1; + kill(getpid(), SIGTERM); return (0); } |