mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
Make eval_node_at_offset return an error indication instead of the exit
status of the last command
This commit is contained in:
@@ -2625,7 +2625,7 @@ int parser_t::eval_new_parser(const wcstring &cmd, const io_chain_t &io, enum bl
|
||||
execution_contexts.pop_back();
|
||||
delete ctx;
|
||||
|
||||
return result;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int parser_t::eval_block_node(node_offset_t node_idx, const io_chain_t &io, enum block_type_t block_type)
|
||||
|
||||
Reference in New Issue
Block a user