Change-Id: I8819baa899f2fa5070b0972fce17922e09d69c05
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
return rc;
}
-int afm_launch_initialize()
-{
- int rc;
- gid_t r, e, s;
-
- getresgid(&r, &e, &s);
- if (s && s != e)
- groupid = s;
- else
- groupid = -1;
-
- rc = read_configuration_file(FWK_LAUNCH_CONF);
- dump_launchers();
- return rc;
-}
-
static struct desc_list *search_launcher(const char *type, enum afm_launch_mode mode)
{
struct desc_list *dl;
}
}
+int afm_launch_initialize()
+{
+ int rc;
+ gid_t r, e, s;
+
+ getresgid(&r, &e, &s);
+ if (s && s != e)
+ groupid = s;
+ else
+ groupid = -1;
+
+ rc = read_configuration_file(FWK_LAUNCH_CONF);
+ dump_launchers();
+ return rc;
+}
+