Check exit code from dup() in spawn() and log error if it fail.

Patch from Michał Kulling.
This commit is contained in:
Petter Reinholdtsen
2014-02-10 22:47:27 +00:00
parent d53cccb542
commit ca4561271e
2 changed files with 20 additions and 4 deletions

View File

@@ -89,6 +89,8 @@ sysvinit (2.89) UNRELEASED; urgency=low
define INIT_FIFO.
* Use narrowly scoped file descriptor for handling opened TTY in
spawn(). Patch from Michał Kulling.
* Check exit code from dup() in spawn() and log error if it fail.
Patch from Michał Kulling.
-- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010