mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-24 00:30:12 +00:00
修复dac文件为空时同目录下其他dac文件不解析问题
Signed-off-by: zhongning5 <zhongning5@huawei.com>
This commit is contained in:
parent
996a1c3cb2
commit
5b70e36621
@ -182,7 +182,7 @@ static int LoadOneParam_(const uint32_t *context, const char *name, const char *
|
||||
|
||||
static int LoadParamLabels(const char *fileName)
|
||||
{
|
||||
int result = -1;
|
||||
int result = 0;
|
||||
ParamAuditData *auditData = (ParamAuditData *)calloc(1,
|
||||
sizeof(ParamAuditData) + sizeof(uid_t) * MAX_MEMBER_IN_GROUP);
|
||||
if (auditData == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user