From d4f034beb4a242e65bcd9b56536c2777d187bdc1 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 20 Jan 2009 18:48:46 +0000 Subject: [PATCH] Die properly with warning. --- server-msg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server-msg.c b/server-msg.c index f9f6278f..cf68b301 100644 --- a/server-msg.c +++ b/server-msg.c @@ -1,4 +1,4 @@ -/* $Id: server-msg.c,v 1.60 2009-01-19 18:23:40 nicm Exp $ */ +/* $Id: server-msg.c,v 1.61 2009-01-20 18:48:46 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -159,6 +159,7 @@ server_msg_fn_command(struct hdr *hdr, struct client *c) "sessions should be nested with care. " "unset $TMUX to force"); cmd_list_free(cmdlist); + server_write_client(c, MSG_EXIT, NULL, 0); return (0); } }