Skip to content

Commit

Permalink
Expand client formats (like run-shell), from Stephen M Coakley.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Apr 29, 2016
1 parent eb8e76d commit 975aa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd-if-shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq)
cwd = NULL;

ft = format_create(cmdq, 0);
format_defaults(ft, NULL, s, wl, wp);
format_defaults(ft, cmdq->state.c, s, wl, wp);
shellcmd = format_expand(ft, args->argv[0]);
format_free(ft);

Expand Down

0 comments on commit 975aa3c

Please sign in to comment.