Description:add log

Feature or Bugfix:Bugfix
Binary Source:No

Signed-off-by: lwx1281857 <linnanmu@h-partners.com>
This commit is contained in:
lwx1281857 2024-03-12 11:37:29 +08:00
parent a5928367a2
commit 4986c6f60f

View File

@ -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.");