]> git.e2factory.org Git - e2factory.git/commit
e2lib: close unused sync pipe ends before reading from child
authorTobias Ulmer <tu@emlix.com>
Wed, 13 Feb 2019 18:24:56 +0000 (19:24 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 13 Feb 2019 18:25:01 +0000 (19:25 +0100)
commit6d9f66d2fdfb670dabd55b78207a8db1d378df67
tree90d510a46759e3a7b6d5715eca2eaa46df697831
parent6b48a7fff51df59cefcf2d62948dd52e073ee7dd
e2lib: close unused sync pipe ends before reading from child

Otherwise we could end up in a situation where we wait for a faulty
child, but hang reading our own pipe.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua