Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam 2021-07-13 12:01:19 +01:00
commit 7496e70bd7

View File

@ -280,6 +280,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
memset(&sc, 0, sizeof sc); memset(&sc, 0, sizeof sc);
sc.item = item; sc.item = item;
sc.s = s; sc.s = s;
if (!detached)
sc.tc = c; sc.tc = c;
sc.name = args_get(args, 'n'); sc.name = args_get(args, 'n');