diff options
Diffstat (limited to 'bin/check')
-rwxr-xr-x | bin/check | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -19,14 +19,12 @@ rescue GitlabNet::ApiUnreachableError abort "FAILED: Failed to connect to internal API" end - -puts "\nCheck directories and files: " - config = GitlabConfig.new abort("ERROR: missing option in config.yml") unless config.auth_file -print "\t#{config.auth_file}: " -if File.exists?(config.auth_file) + +print "\nAccess to #{config.auth_file}: " +if system(File.dirname(__FILE__) + '/gitlab-keys', 'check-permissions') print 'OK' else abort "FAILED" |