Fix missing Result::ok() call in init
Test: m init Change-Id: Ifc11f856704e6f8d08764b6ba2876423992fb8c2
This commit is contained in:
parent
ad9d034e7d
commit
50dfcb02c8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue