diff --git a/10.11-ubi/healthcheck.sh b/10.11-ubi/healthcheck.sh index 37227edd..eeecbcce 100755 --- a/10.11-ubi/healthcheck.sh +++ b/10.11-ubi/healthcheck.sh @@ -365,8 +365,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/10.11/healthcheck.sh b/10.11/healthcheck.sh index 37227edd..eeecbcce 100755 --- a/10.11/healthcheck.sh +++ b/10.11/healthcheck.sh @@ -365,8 +365,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/10.5/healthcheck.sh b/10.5/healthcheck.sh index 17528ce8..b110f973 100755 --- a/10.5/healthcheck.sh +++ b/10.5/healthcheck.sh @@ -365,8 +365,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/10.6-ubi/healthcheck.sh b/10.6-ubi/healthcheck.sh index 37227edd..eeecbcce 100755 --- a/10.6-ubi/healthcheck.sh +++ b/10.6-ubi/healthcheck.sh @@ -365,8 +365,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/10.6/healthcheck.sh b/10.6/healthcheck.sh index 37227edd..eeecbcce 100755 --- a/10.6/healthcheck.sh +++ b/10.6/healthcheck.sh @@ -365,8 +365,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/11.1/healthcheck.sh b/11.1/healthcheck.sh index b8909c75..33794d8d 100755 --- a/11.1/healthcheck.sh +++ b/11.1/healthcheck.sh @@ -365,8 +365,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/11.2/healthcheck.sh b/11.2/healthcheck.sh index b8909c75..33794d8d 100755 --- a/11.2/healthcheck.sh +++ b/11.2/healthcheck.sh @@ -365,8 +365,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/11.4-ubi/healthcheck.sh b/11.4-ubi/healthcheck.sh index c5dcbd38..29294c36 100755 --- a/11.4-ubi/healthcheck.sh +++ b/11.4-ubi/healthcheck.sh @@ -367,8 +367,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/11.4/healthcheck.sh b/11.4/healthcheck.sh index c5dcbd38..29294c36 100755 --- a/11.4/healthcheck.sh +++ b/11.4/healthcheck.sh @@ -367,8 +367,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/11.5/healthcheck.sh b/11.5/healthcheck.sh index c5dcbd38..29294c36 100755 --- a/11.5/healthcheck.sh +++ b/11.5/healthcheck.sh @@ -367,8 +367,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/healthcheck.sh b/healthcheck.sh index c5dcbd38..29294c36 100755 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -367,8 +367,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/main-ubi/healthcheck.sh b/main-ubi/healthcheck.sh index c5dcbd38..29294c36 100755 --- a/main-ubi/healthcheck.sh +++ b/main-ubi/healthcheck.sh @@ -367,8 +367,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $? diff --git a/main/healthcheck.sh b/main/healthcheck.sh index c5dcbd38..29294c36 100755 --- a/main/healthcheck.sh +++ b/main/healthcheck.sh @@ -367,8 +367,8 @@ while [ $# -gt 0 ]; do fi shift done -if [ -z "$connect_s" ]; then - # we didn't do a connnect test, so the current success status is suspicious +if [ "$connect_s" != "0" ]; then + # we didn't pass a connnect test, so the current success status is suspicious # return what connect thinks. connect exit $?