Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Osquerybeat: Fix restart flags after previously bad config (#28827)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8d8e387)
aleksmaus authored and mergify-bot committed Nov 10, 2021
1 parent c36cd13 commit f83ef17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/osquerybeat/beater/osquery_runner.go
Original file line number Diff line number Diff line change
@@ -68,11 +68,11 @@ func (r *osqueryRunner) Run(parentCtx context.Context, runfn osqueryRunFunc) err

// Wait until osquery runner exists
wg.Wait()

// Set the flags to use
flags = newFlags
}

// Set the flags to use
flags = newFlags

// Start osqueryd if not running
if cn == nil {
r.log.Info("Start osqueryd")

0 comments on commit f83ef17

Please sign in to comment.