summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2016-08-04 11:45:35 +0200
committerJacob Vosmaer <jacob@gitlab.com>2016-08-04 11:45:35 +0200
commitfb311531d042a629cb8558b2b4652fd30e9f35bc (patch)
tree40aa439fe34a97c45b0951264737c3b3c37f17ae /bin
parent933526140fa77d91eebb73469e567280c75d11dd (diff)
downloadgitlab-shell-fb311531d042a629cb8558b2b4652fd30e9f35bc.tar.gz
Improve output from redis check
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/check b/bin/check
index d34a2d0..9585416 100755
--- a/bin/check
+++ b/bin/check
@@ -32,4 +32,10 @@ end
puts "\n"
print "Send ping to redis server: "
-abort unless GitlabNet.new.redis_client.ping
+if GitlabNet.new.redis_client.ping
+ print 'OK'
+else
+ abort 'FAILED'
+end
+
+puts "\n"