diff options
Diffstat (limited to 'cmd-respawn-pane.c')
-rw-r--r-- | cmd-respawn-pane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-respawn-pane.c b/cmd-respawn-pane.c index 14f9abf2..652ef755 100644 --- a/cmd-respawn-pane.c +++ b/cmd-respawn-pane.c @@ -34,7 +34,7 @@ const struct cmd_entry cmd_respawn_pane_entry = { .name = "respawn-pane", .alias = "respawnp", - .args = { "c:e:kt:", 0, -1 }, + .args = { "c:e:kt:", 0, -1, NULL }, .usage = "[-k] [-c start-directory] [-e environment] " CMD_TARGET_PANE_USAGE " [command]", @@ -69,7 +69,7 @@ cmd_respawn_pane_exec(struct cmd *self, struct cmdq_item *item) av = args_first_value(args, 'e'); while (av != NULL) { - environ_put(sc.environ, av->value, 0); + environ_put(sc.environ, av->string, 0); av = args_next_value(av); } |