diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-11-20 06:44:19 -0800 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-11-20 06:44:19 -0800 |
commit | 6fc922c23242dd3d1a222f8564c8b74b71c6aa10 (patch) | |
tree | 158918e5a7df9ebe7eb30962f14ddbb670da9fe6 | |
parent | 9e00fb4078ca8a168687f876c1f6a98198a68155 (diff) | |
parent | 8513d181aee05e43d39fca2a07b95842646e3c0c (diff) | |
download | gitlab-shell-6fc922c23242dd3d1a222f8564c8b74b71c6aa10.tar.gz |
Merge pull request #112 from Javex/master
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' |