提交 351d8645 编写于 作者: X xionglei6

modify: ueventd poll a moment by itself

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 d042ce27
...@@ -32,7 +32,8 @@ static void PollUeventdSocketTimeout(int ueventSockFd) ...@@ -32,7 +32,8 @@ static void PollUeventdSocketTimeout(int ueventSockFd)
pfd.revents = 0; pfd.revents = 0;
ret = poll(&pfd, 1, UEVENTD_POLL_TIME); ret = poll(&pfd, 1, UEVENTD_POLL_TIME);
if (ret == 0) { if (ret == 0) {
break; INIT_LOGI("poll ueventd socket timeout, ueventd exit");
return;
} else if (ret < 0) { } else if (ret < 0) {
INIT_LOGE("Failed to poll ueventd socket!"); INIT_LOGE("Failed to poll ueventd socket!");
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册