commit | 8d144f6612c21ad040534c4c489c13000fdf9478 | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Sun Mar 01 15:14:39 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sun Mar 01 15:14:39 2020 +0000 |
tree | 9c043553aea7f949472592b30dea99f7b0b55373 | |
parent | ab8a7e35ec710ce03b6360181b3cafb9cf4eb6ad [diff] | |
parent | 50dfcb02c8afe8b71963ed1103abb115517dcb1f [diff] |
Merge "Fix missing Result::ok() call in init"
diff --git a/init/init.cpp b/init/init.cpp index bfef9e5..a530d18 100644 --- a/init/init.cpp +++ b/init/init.cpp
@@ -120,7 +120,7 @@ } }; - 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(); } }