Skip to content

Commit

Permalink
new tablehelpers.Exec
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Jun 4, 2021
1 parent 6d08876 commit 61083c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/osquery/tables/cryptsetup/table.go
Expand Up @@ -51,7 +51,7 @@ func (t *Table) generate(ctx context.Context, queryContext table.QueryContext) (
}

for _, name := range requestedNames {
output, err := tablehelpers.Exec(ctx, t.logger, cryptsetupPath, []string{"--readonly", "status", name})
output, err := tablehelpers.Exec(ctx, t.logger, 15, []string{cryptsetupPath}, []string{"--readonly", "status", name})
if err != nil {
level.Debug(t.logger).Log("msg", "Error execing for status", "name", name, "err", err)
continue
Expand Down

0 comments on commit 61083c8

Please sign in to comment.