Skip to content

Commit

Permalink
Merge pull request #3964 from mhfan/improve-sidekiq-check
Browse files Browse the repository at this point in the history
improve regrex for match(sidekiq) robustness
  • Loading branch information
dzaporozhets committed May 23, 2013
2 parents 25236ef + dfe082f commit 76ffd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/gitlab/check.rake
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ namespace :gitlab do
def check_sidekiq_running
print "Running? ... "

if run_and_match("ps aux | grep -i sidekiq", /sidekiq \d\.\d\.\d.+$/)
if run_and_match("ps aux | grep -i sidekiq", /sidekiq \d+\.\d+\.\d+.+$/)
puts "yes".green
else
puts "no".red
Expand Down

0 comments on commit 76ffd11

Please sign in to comment.