Fix missing Result::ok() call in init

Test: m init
Change-Id: Ifc11f856704e6f8d08764b6ba2876423992fb8c2
This commit is contained in:
Bernie Innocenti 2020-02-28 20:39:40 +09:00
parent ad9d034e7d
commit 50dfcb02c8

View file

@ -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();
}
}