mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Die properly with warning.
This commit is contained in:
parent
2afa8ebc02
commit
d4f034beb4
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user