Commit 8513d181 authored by javex's avatar javex

Display appropriate error message on config error

parent 6d1b3763
......@@ -21,6 +21,7 @@ config = GitlabConfig.new
dirs = [config.repos_path, config.auth_file, config.redis['bin']]
dirs.each do |dir|
abort("ERROR: missing option in config.yml") unless dir
print "\t#{dir}: "
if File.exists?(dir)
print 'OK'
......
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