]> granicus.if.org Git - sudo/commit
In handle_sigchld() fix the return value when we've already received
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 9 Jun 2016 16:50:58 +0000 (10:50 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 9 Jun 2016 16:50:58 +0000 (10:50 -0600)
commit8a86233c16d788173def9e01c904c99aebb9c62b
tree35af1659bd991c4bd16cf9dfa3a63bbdfc3b149f
parent1ec4d9918d5d28f5d36ce37406d76287fcedee19
In handle_sigchld() fix the return value when we've already received
an exec error.  We don't want to overwrite the error status but we
do need to indicate that the command is no longer running.
Fixes as hang on execve(2) error when running in a pty.
src/exec_pty.c