Skip to content

Commit

Permalink
report return status always.
Browse files Browse the repository at this point in the history
  • Loading branch information
Agile86 committed Feb 3, 2020
1 parent 5220cbf commit 1f4e77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osquery/extensions/impl_thrift.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ Status ExtensionManagerClient::query(const std::string& sql, QueryData& qd) {
qd.push_back(row);
}

return Status::success();
return Status(er.status.code, er.status.message);
}

Status ExtensionManagerClient::getQueryColumns(const std::string& sql,
Expand Down

0 comments on commit 1f4e77c

Please sign in to comment.