summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/check1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/check b/bin/check
index 4391cff..c867e38 100755
--- a/bin/check
+++ b/bin/check
@@ -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'