diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-04-11 09:54:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-04-11 09:54:46 +0000 |
commit | 1f33c2f47d5dc151856160197740ba57f04b8e5f (patch) | |
tree | 6fb0bc3cb470aadd96e61d3296bb776ede956dc5 /usr.bin | |
parent | 90019933596e67f9f3983b055fe458d0ad32af02 (diff) |
Allow no client for rename-session, from Ryan Freeman.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/cmd-rename-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-rename-session.c b/usr.bin/tmux/cmd-rename-session.c index ca229719378..4ae4fedaad8 100644 --- a/usr.bin/tmux/cmd-rename-session.c +++ b/usr.bin/tmux/cmd-rename-session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-rename-session.c,v 1.27 2018/03/01 12:53:08 nicm Exp $ */ +/* $OpenBSD: cmd-rename-session.c,v 1.28 2018/04/11 09:54:45 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -47,7 +47,7 @@ static enum cmd_retval cmd_rename_session_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = self->args; - struct client *c = cmd_find_client(item, NULL, 0); + struct client *c = cmd_find_client(item, NULL, 1); struct session *s = item->target.s; char *newname; |