diff options
author | 2018-04-11 09:54:45 +0000 | |
---|---|---|
committer | 2018-04-11 09:54:45 +0000 | |
commit | 68669a7ec562bc126369de766bd59b533b000d5d (patch) | |
tree | 9b30d6460ca72a9a0651586daf69bae3633355a7 | |
parent | Some (probably newer) re(4) cards don't have the 32-bit memory BAR that (diff) | |
download | wireguard-openbsd-68669a7ec562bc126369de766bd59b533b000d5d.tar.xz wireguard-openbsd-68669a7ec562bc126369de766bd59b533b000d5d.zip |
Allow no client for rename-session, from Ryan Freeman.
-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; |