summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 9fac796..1d0d788 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,6 +18,9 @@ int main_loop(void) {
event_source = oop_sys_source(sys);
assert(event_source);
+ if (child_process_init() < 0)
+ goto finish;
+
if (modem_manager_init(CHANNELS) < 0)
goto finish;
@@ -30,6 +33,7 @@ int main_loop(void) {
finish:
modem_manager_done();
+ child_process_done();
if (sys) {
event_source = NULL;