Commit f3d77a7661a9933bd194ed6634f8383ac9fd0448

Authored by Marin Jankovski
1 parent 615d859f

Add invert match to sidekiq match.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/gitlab/check.rake
... ... @@ -678,7 +678,7 @@ namespace :gitlab do
678 678 end
679 679  
680 680 def sidekiq_process_match
681   - run_and_match("ps ux | grep -i sidekiq", /(sidekiq \d+\.\d+\.\d+.+$)/)
  681 + run_and_match("ps ux | grep -i sidekiq | grep -v grep", /(sidekiq \d+\.\d+\.\d+.+$)/)
682 682 end
683 683 end
684 684  
... ...