Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50dfcb02 authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

Fix missing Result::ok() call in init

Test: m init
Change-Id: Ifc11f856704e6f8d08764b6ba2876423992fb8c2
parent ad9d034e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
    }
}