bug in RC quick_solution
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 29 Oct 2016 14:51:42 +0000 (16:51 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 29 Oct 2016 14:51:42 +0000 (16:51 +0200)
example/diameter/launcher/deployments/st-client/checkStatus.sh

index fc14686..7e7f861 100755 (executable)
@@ -20,7 +20,7 @@ echo -n "$ADML_CONNECTIONS_ALIVE connections established"
 if [ $ADML_CONNECTIONS_ALIVE -ne $ADML_TOTAL_CONNECTIONS ]
 then
   echo " ! (expected $ADML_TOTAL_CONNECTIONS configured)"
-  [ $RESULT_CODE -ne 1 ] && RESULT_CODE=
+  [ $RESULT_CODE -ne 1 ] && RESULT_CODE=2
 else
   echo
 fi