diff options
author | javex <florian.ruechel@inexplicity.de> | 2013-11-15 01:54:44 +0100 |
---|---|---|
committer | javex <florian.ruechel@inexplicity.de> | 2013-11-20 15:12:04 +0100 |
commit | 8513d181aee05e43d39fca2a07b95842646e3c0c (patch) | |
tree | aac2c12c10ddc27b6bddcdf9574863caec498297 | |
parent | 6d1b3763c264c94d44d1cf3ae00ec1b62d894bdd (diff) | |
download | gitlab-shell-8513d181aee05e43d39fca2a07b95842646e3c0c.tar.gz |
Display appropriate error message on config error
-rwxr-xr-x | bin/check | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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' |