Bash-4.4 patch 13

This commit is contained in:
Chet Ramey 2018-01-29 16:03:33 -05:00
commit 1aef9c7b55
2 changed files with 3 additions and 1 deletions

View file

@ -469,6 +469,8 @@ here_document_to_fd (redirectee, ri)
return (fd);
}
SET_CLOSE_ON_EXEC (fd);
errno = r = 0; /* XXX */
/* write_here_document returns 0 on success, errno on failure. */
if (redirectee->word)