Move close_all_fds right before exec 63/91663/2
authorMichal Bloch <m.bloch@samsung.com>
Mon, 10 Oct 2016 15:12:00 +0000 (17:12 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Mon, 10 Oct 2016 16:20:10 +0000 (09:20 -0700)
commit47f641de4382b96e96acd1d1895fd4e609730069
tree0deada7c5f973279736ffdd65da73862dea10b7d
parente40a70a28697005e1e34edab14bf7f8e091d2a79
Move close_all_fds right before exec

Some FDs (specifically, the ones used for dlog logging)
are in use between current close_all_fds call spot and exec

Change-Id: Ie64fad2cef350c2e2931da6a3c21200471b23fdb
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/launchpad.c