posix mode changes for interp 1150; fix for varassign redirection; fix for nameref in ${param=value} expansion

This commit is contained in:
Chet Ramey
2023-04-11 09:56:03 -04:00
parent ec9447ce93
commit 15b199c0dd
12 changed files with 113 additions and 10 deletions
+1 -1
View File
@@ -4123,7 +4123,7 @@ execute_null_command (REDIRECT *redirects, int pipe_in, int pipe_out, int async)
if (r != 0)
return (EXECUTION_FAILURE);
else if (last_command_subst_pid != NO_PID)
return (last_command_exit_value);
return (last_command_subst_status);
else
return (EXECUTION_SUCCESS);
}