From f3d77a7661a9933bd194ed6634f8383ac9fd0448 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Wed, 16 Oct 2013 13:39:09 +0200 Subject: [PATCH] Add invert match to sidekiq match. --- lib/tasks/gitlab/check.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index f52b98cb3ae..573b076d60a 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -678,7 +678,7 @@ namespace :gitlab do end def sidekiq_process_match - run_and_match("ps ux | grep -i sidekiq", /(sidekiq \d+\.\d+\.\d+.+$)/) + run_and_match("ps ux | grep -i sidekiq | grep -v grep", /(sidekiq \d+\.\d+\.\d+.+$)/) end end -- GitLab