Merge "Fix missing Result::ok() call in init" am: 8d144f6612
Change-Id: I37ecbf07fe122fa4998f3cb174e96e49b94f5181
This commit is contained in:
commit
aebe5f91b0
|
@ -120,7 +120,7 @@ static void InstallInitNotifier(Epoll* epoll) {
|
|||
}
|
||||
};
|
||||
|
||||
if (auto result = epoll->RegisterHandler(epoll_fd, drain_socket); !result) {
|
||||
if (auto result = epoll->RegisterHandler(epoll_fd, drain_socket); !result.ok()) {
|
||||
LOG(FATAL) << result.error();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue