Commit dfe082fa1d3327c9bf6ee74a91f17044ff288150

Authored by MeiHui FAN
1 parent 886f7b63

improve regrex for match(sidekiq) robustness

e.g.: the sidekiq in my Debian box is v2.11.1
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/gitlab/check.rake
... ... @@ -588,7 +588,7 @@ namespace :gitlab do
588 588 def check_sidekiq_running
589 589 print "Running? ... "
590 590  
591   - if run_and_match("ps aux | grep -i sidekiq", /sidekiq \d\.\d\.\d.+$/)
  591 + if run_and_match("ps aux | grep -i sidekiq", /sidekiq \d+\.\d+\.\d+.+$/)
592 592 puts "yes".green
593 593 else
594 594 puts "no".red
... ...