From: SangYoun Kwak Date: Tue, 11 Mar 2025 09:16:55 +0000 (+0900) Subject: hal-backend-service: Change to return 0 when no available module X-Git-Tag: accepted/tizen/unified/x/20250312.134142~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b94302b64c1da64a3667bd8250846b01ced6cd09;p=platform%2Fhal%2Fapi%2Fcommon.git hal-backend-service: Change to return 0 when no available module 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 --- diff --git a/hal-backend-service/hal-backend-service.c b/hal-backend-service/hal-backend-service.c index 1aac64d..67f7b16 100644 --- a/hal-backend-service/hal-backend-service.c +++ b/hal-backend-service/hal-backend-service.c @@ -861,12 +861,12 @@ int main(int argc, char **argv) } 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();