未验证 提交 e403c457 编写于 作者: 熊磊 提交者: Gitee

update services/init/standard/init_service.c.

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 0442c820
......@@ -66,7 +66,7 @@ int ServiceExec(const Service *service)
if (setpriority(PRIO_PROCESS, 0, service->importance) != 0) {
INIT_LOGE("setpriority failed for %s, importance = %d, err=%d",
service->name, service->importance, errno);
//_exit(0x7f); // 0x7f: user specified
_exit(0x7f); // 0x7f: user specified
}
}
INIT_CHECK_ONLY_ELOG(unsetenv("UV_THREADPOOL_SIZE") == 0, "set UV_THREADPOOL_SIZE error : %d.", errno);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册