Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-22 01:06:04 +0300
committerDouwe Maan <douwe@gitlab.com>2015-08-22 01:06:04 +0300
commit0366655311f3de0806eb1ad84abfffb881b5c609 (patch)
tree222ae1f8f9c0ad6604cbcb045e6de493147a8e7a /lib
parent50baa1fdd1be1090c0d8ae6f7346d82f07369657 (diff)
Fix check task for development.
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/gitlab/check.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index a48e23e63a8..6f7a13159fc 100644
--- a/lib/tasks/gitlab/check.rake
+++ b/lib/tasks/gitlab/check.rake
@@ -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