exec: close stdout and stderr streams on child signal
authorJo-Philipp Wich <jo@mein.io>
Tue, 8 May 2018 18:43:00 +0000 (20:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 8 May 2018 18:47:17 +0000 (20:47 +0200)
commit10f787881da2dc6aac261a2ee3b5eedc0f8b5b54
treedabf8577b82cd9238e079124e71feb86ef34603f
parent92d0d757161d1950f11abb6e679bfdafa7cbfe85
exec: close stdout and stderr streams on child signal

This prevents timing out ubus call when the child invokes further detached
childs inheriting stdio descriptors.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
exec.c