aboutsummaryrefslogtreecommitdiff
path: root/cmd-respawn-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-25 18:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-25 18:01:11 +0100
commit65d6278f883b08673e9dbfefc376864ee01d9655 (patch)
treea505029faa66d1395bcd98d254b08490bc15173a /cmd-respawn-window.c
parentb9382125636dfe0fa8a114d93a7268b947df9ad5 (diff)
parentc48d09ec8870ac218d6cc2bbec638d59839eda27 (diff)
downloadrtmux-65d6278f883b08673e9dbfefc376864ee01d9655.tar.gz
rtmux-65d6278f883b08673e9dbfefc376864ee01d9655.tar.bz2
rtmux-65d6278f883b08673e9dbfefc376864ee01d9655.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-respawn-window.c')
-rw-r--r--cmd-respawn-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c
index f9edbec7..48e6a97f 100644
--- a/cmd-respawn-window.c
+++ b/cmd-respawn-window.c
@@ -81,7 +81,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmdq_item *item)
if (envent != NULL)
path = envent->value;
- env = environ_for_session(s);
+ env = environ_for_session(s, 0);
if (window_pane_spawn(wp, args->argc, args->argv, path, NULL, NULL, env,
s->tio, &cause) != 0) {
cmdq_error(item, "respawn window failed: %s", cause);