aboutsummaryrefslogtreecommitdiffstats
path: root/src/afm-run.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-02-08 21:24:56 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-02-08 21:38:37 +0100
commit7632c5fdfb2bced129e46adcfe5329e386eee303 (patch)
tree64433f675ebed2df1b568ea4fb4ecdfc7c6d1281 /src/afm-run.c
parent792017f816d7c4eb24277bee14605c49164af5b3 (diff)
adds config file for launchers
Change-Id: Ibbedefcdedbfc7f6fe7c89f8e8f32d022a93ca19 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afm-run.c')
-rw-r--r--src/afm-run.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/afm-run.c b/src/afm-run.c
index 89d303f..b9e1e7c 100644
--- a/src/afm-run.c
+++ b/src/afm-run.c
@@ -429,6 +429,11 @@ int afm_run_init()
struct passwd passwd, *pw;
struct sigaction siga;
+ /* init launcher */
+ rc = afm_launch_initialize();
+ if (rc)
+ return rc;
+
/* computes the 'homeappdir' */
me = geteuid();
rc = getpwuid_r(me, &passwd, buf, sizeof buf, &pw);