fix logic flaw

This commit is contained in:
Tasos Katsoulas 2024-02-29 14:20:24 +02:00 committed by GitHub
parent fcee0123e8
commit 068a775b42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ fatal() {
printf >&2 "%s\n\n" "${TPUT_BGRED}${TPUT_WHITE}${TPUT_BOLD} ABORTED ${TPUT_RESET} ${1}"
printf >&2 "%s\n" "For community support, you can connect with us on:"
support_list
if [ -n "${NETDATA_WARNINGS}" ]; then
if [ -z "${NETDATA_WARNINGS}" ]; then
printf >&2 "%s\n" "Or you can consult the guide to common installation problems in our docs: ${TROUBLESHOOTING_GUIDE_URL}"
fi
telemetry_event "INSTALL_FAILED" "${1}" "${2}"