Browse code

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

Sean Dague authored on 2014/02/28 07:16:46
Showing 1 changed files
... ...
@@ -1135,7 +1135,7 @@ function service_check() {
1135 1135
     done
1136 1136
 
1137 1137
     if [ -n "$failures" ]; then
1138
-        echo "More details about the above errors can be found with screen, with ./rejoin-stack.sh"
1138
+        die $LINENO "More details about the above errors can be found with screen, with ./rejoin-stack.sh"
1139 1139
     fi
1140 1140
 }
1141 1141