Small style change to finished debug upload display

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2021-09-07 11:20:42 +02:00
parent be68a5339c
commit cbc99d45c6
2 changed files with 8 additions and 9 deletions

2
pihole
View File

@@ -409,7 +409,7 @@ tricorderFunc() {
if [[ "${tricorder_token}" != "https://tricorder.pi-hole.net/"* ]]; then
echo -e "${CROSS} uploading failed, contact Pi-hole support for assistance."
# Log curl error (if available)
if [ ! -z "${tricorder_token}" ]; then
if [ -n "${tricorder_token}" ]; then
echo -e "${INFO} Error message: ${COL_RED}${tricorder_token}${COL_NC}\\n"
tricorder_token=""
fi