mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
tables: augeas: Remove trailing slash from /files prefix (#3967)
This commit is contained in:
parent
6068d61068
commit
595fd11284
@ -170,7 +170,7 @@ QueryData genAugeas(QueryContext& context) {
|
||||
std::ostringstream pattern;
|
||||
|
||||
for (const auto& path : paths) {
|
||||
pattern << "/files/" << path;
|
||||
pattern << "/files" << path;
|
||||
patterns.insert(pattern.str());
|
||||
|
||||
pattern.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user