Expand command as a format, GitHub issue 2920.

This commit is contained in:
nicm 2021-10-28 18:39:15 +00:00
parent 9695114230
commit 76f5d3364c

View File

@ -72,7 +72,7 @@ cmd_confirm_before_exec(struct cmd *self, struct cmdq_item *item)
int wait = !args_has(args, 'b'); int wait = !args_has(args, 'b');
cdata = xcalloc(1, sizeof *cdata); cdata = xcalloc(1, sizeof *cdata);
cdata->cmdlist = args_make_commands_now(self, item, 0, 0); cdata->cmdlist = args_make_commands_now(self, item, 0, 1);
if (cdata->cmdlist == NULL) if (cdata->cmdlist == NULL)
return (CMD_RETURN_ERROR); return (CMD_RETURN_ERROR);