Commit 76ffd116 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #3964 from mhfan/improve-sidekiq-check

improve regrex for match(sidekiq) robustness
parents 25236efe dfe082fa
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment