commit | 22ba31a3afe39aed3ad4942008b5b9ce7261c293 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Sat Jun 15 18:14:56 2013 -0700 |
committer | Gregory P. Smith <greg@krypto.org> | Sat Jun 15 18:14:56 2013 -0700 |
tree | 29011326296342ff258b06e8c8a9475d303ce256 | |
parent | ef888024d86eccb29b10d55066fa33c3aa54a586 [diff] | |
parent | 893f2ffc7c8a110f069bb05c66e60632cc49cbef [diff] |
Prevent a possible double close of parent pipe fds when the subprocess exec runs into an error. Prevent a regular multi-close of the /dev/null fd when any of stdin, stdout and stderr was set to DEVNULL.