diff --git a/healthchecks/checks/check_haf_lib.sh b/healthchecks/checks/check_haf_lib.sh index d5058dbf8c42879d62e25b443da0cf28be3654b8..82f456c7e07910029a6acfe33498e8cf3aad1ef8 100755 --- a/healthchecks/checks/check_haf_lib.sh +++ b/healthchecks/checks/check_haf_lib.sh @@ -1,7 +1,7 @@ . "$(dirname "$0")/format_seconds.sh" check_haf_lib() { - if [ "$(psql "$POSTGRES_URL" --quiet --no-align --tuples-only --command="SELECT hive.is_instance_ready();")" = f ]; then + if [ "$(psql "$POSTGRES_URL" --quiet --no-align --tuples-only --command="SELECT hive.is_instance_ready();")" != t ]; then echo "down #HAF not in sync" exit 1 fi