Commit 6fc922c2 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge pull request #112 from Javex/master

Display appropriate error message on config error
parents 9e00fb40 8513d181
......@@ -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