X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=fc1ec13e9f3cc4a3f731431a965b4790444174fd;hb=6a325d7f101c986e7329ef912c0458719f95c096;hp=f5512a2c5751b7415dea7c9d77523ef39b41d83f;hpb=bb5806063c450da26a38e1915f076723d00df260;p=src%2Fapp-framework-binder.git diff --git a/src/main.c b/src/main.c index f5512a2c..fc1ec13e 100644 --- a/src/main.c +++ b/src/main.c @@ -113,7 +113,6 @@ static void exit_handler() killpg(0, SIGTERM); else if (childpid > 0) killpg(childpid, SIGTERM); - exit(0); } static void on_sigterm(int signum, siginfo_t *info, void *uctx) @@ -574,6 +573,8 @@ static void start() afb_hook_create_ditf(NULL, config->traceditf, NULL, NULL); if (config->tracesvc) afb_hook_create_svc(NULL, config->tracesvc, NULL, NULL); + if (config->traceevt) + afb_hook_create_evt(NULL, config->traceevt, NULL, NULL); /* load bindings */ apiset_start_list(config->dbus_clients, afb_api_dbus_add_client, "the afb-dbus client");