Previously, if there is no module that can be loaded, service is exited
with return code 1. This will cause the service hal-backend-service be
failed, but it is not desirable for the hal-backend-service scenario.
To fix this, hal-backend-service is modified to return 0 when there is
no available module.
Change-Id: Id239133c09ba7f1e5663d724dae6899dbf8d2bbd
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
}
if (g_slist_length(g_hal_backend_service_data_list) == 0) {
- _E("No available modules, exit");
+ _W("No available modules, exit");
tizen_core_task_destroy(g_main_task);
tizen_core_shutdown();
- return 1;
+ return 0;
}
hal_backend_service_start();