Remove exec_prompt call from read_push

This prompt execution does not appear to be necessary, and spoils the
upcoming fix for #7489
This commit is contained in:
ridiculousfish 2020-11-26 16:38:33 -08:00
parent a434ec0e19
commit e0cedd4ad2

View file

@ -2462,7 +2462,6 @@ static std::shared_ptr<reader_data_t> reader_push_ret(parser_t &parser,
if (reader_data_stack.size() == 1) {
reader_interactive_init(parser);
}
data->exec_prompt();
return data;
}