mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-17 02:41:15 -03:00
add $pipestatus support
This commit is contained in:
@@ -718,6 +718,7 @@ parse_execution_result_t parse_execution_context_t::handle_command_not_found(
|
||||
|
||||
// Set the last proc status appropriately.
|
||||
proc_set_last_status(err_code == ENOENT ? STATUS_CMD_UNKNOWN : STATUS_NOT_EXECUTABLE);
|
||||
proc_set_last_job_statuses(proc_get_last_status());
|
||||
|
||||
return parse_execution_errored;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user