main: improve start
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 5 Jul 2017 12:35:05 +0000 (14:35 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Wed, 5 Jul 2017 12:35:05 +0000 (14:35 +0200)
commit71762eeb3fc6e89ee17be512d295d305b2664142
treee148d0af4f7399913b001908c8fbfc7ab357fa4a
parent052c3aee6362b2e33c060e0fbddd68439bb73dcb
main: improve start

1: emits the correct PID even if daemonized

2: run the startup calls before executing the client (if any)

Change-Id: I7e06961d4a88bc6083aa1bc48ccedf57b76ea268
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/main.c