Skip to content

Commit

Permalink
Osquerybeat: Fix restart flags after previously bad config (#28827)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksmaus authored Nov 5, 2021
1 parent 987250d commit 8d8e387
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
Expand Up @@ -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")
Expand Down

0 comments on commit 8d8e387

Please sign in to comment.