mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 16:20:00 +00:00
Description:add log
Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: lwx1281857 <linnanmu@h-partners.com>
This commit is contained in:
parent
a5928367a2
commit
4986c6f60f
@ -114,6 +114,7 @@ int SetImportantValue(Service *service, const char *attrName, int value, int fla
|
||||
|
||||
int ServiceExec(Service *service, const ServiceArgs *pathArgs)
|
||||
{
|
||||
INIT_LOGI("ServiceExec %s", service->name);
|
||||
INIT_ERROR_CHECK(service != NULL, return SERVICE_FAILURE, "Exec service failed! null ptr.");
|
||||
INIT_ERROR_CHECK(pathArgs != NULL && pathArgs->count > 0,
|
||||
return SERVICE_FAILURE, "Exec service failed! null ptr.");
|
||||
|
Loading…
Reference in New Issue
Block a user