Commit 03666553 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix check task for development.

parent af2d9352a617
......@@ -589,7 +589,7 @@ namespace :gitlab do
check_address_formatted_correctly
check_mail_room_config_exists
check_imap_authentication
if Rails.env.production?
check_initd_configured_correctly
check_mail_room_running
......@@ -645,7 +645,7 @@ namespace :gitlab do
path = Rails.root.join("Procfile")
if File.exist?(path) && File.read(path) =~ /mail_room:/
if File.exist?(path) && File.read(path) =~ /^mail_room:/
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