From 1237922b655d8ab1690b88c718d7002415ce1201 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 27 Feb 2014 17:16:46 -0500 Subject: [PATCH] make service_check fatal if we fail service check, we should do so in a fatal way, because something is not right. This will be very useful in grenade. Change-Id: I18811b0d8e6d06f364685c366cdc8f5dda3b8f7e --- functions-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions-common b/functions-common index 2248fbb610..ab7bc2139b 100644 --- a/functions-common +++ b/functions-common @@ -1135,7 +1135,7 @@ function service_check() { done if [ -n "$failures" ]; then - echo "More details about the above errors can be found with screen, with ./rejoin-stack.sh" + die $LINENO "More details about the above errors can be found with screen, with ./rejoin-stack.sh" fi }