aboutsummaryrefslogtreecommitdiff
path: root/server-msg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-20 18:48:46 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-20 18:48:46 +0000
commitd4f034beb4a242e65bcd9b56536c2777d187bdc1 (patch)
tree32b98675cbb4abe7f821280eec84ab1937aeef57 /server-msg.c
parent2afa8ebc021d82e0416c54ab47bbbfcb5d318a1d (diff)
downloadrtmux-d4f034beb4a242e65bcd9b56536c2777d187bdc1.tar.gz
rtmux-d4f034beb4a242e65bcd9b56536c2777d187bdc1.tar.bz2
rtmux-d4f034beb4a242e65bcd9b56536c2777d187bdc1.zip
Die properly with warning.
Diffstat (limited to 'server-msg.c')
-rw-r--r--server-msg.c3
1 files changed, 2 insertions, 1 deletions
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 <nicm@users.sourceforge.net>
@@ -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);
}
}