Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sensorfwd] Do not call exit() twice when forking a daemon. MER#1749
The "one exit() call / entry to main()" rule of thumb is not observed. Terminate parent with _exit() when child is successfully forked. Also flush stdio streams before forking. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information