mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 14:51:16 -03:00
Clean up exec_subshell, removing al_list from it
This commit is contained in:
@@ -1262,7 +1262,7 @@ static int expand_cmdsubst( parser_t &parser, const wcstring &input, std::vector
|
||||
|
||||
const wcstring subcmd(paran_begin + 1, paran_end-paran_begin - 1);
|
||||
|
||||
if( exec_subshell2( subcmd, sub_res) == -1 )
|
||||
if( exec_subshell( subcmd, sub_res) == -1 )
|
||||
{
|
||||
parser.error( CMDSUBST_ERROR, -1, L"Unknown error while evaulating command substitution" );
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user