From e657af21f91b4cedd3c492da8b208c3dec1a1022 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 1 Jul 2023 19:06:59 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 68af1683..b2c42375 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1029,6 +1029,7 @@ UPDATE_DYNDNS(){ fi SENDNOTICE "${1^^} DYNDNS Updated" "Updated ${1^} WAN IP from '${OLDIP}' to '${NEWIP}'" [ "${2}" != 'q' ] && echo -e "${idsCL[Green]}done${idsCL[Default]}" + echo elif [[ "${NEWIP}" == *";"* ]] || [[ "${OLDIP}" == *";"* ]]; then [ "${2}" != 'q' ] && echo -e "${idsCL[Red]}Could not do dns lookup${idsCL[Default]}" @@ -1038,7 +1039,7 @@ UPDATE_DYNDNS(){ elif [ "${NEWIP}" == "" ]; then [ "${2}" != 'q' ] && echo -e "${idsCL[Red]}Could not get NEW IP${idsCL[Default]}" else - [ "${2}" != 'q' ] && echo && echo -e "${idsCL[Green]}${1^^} WAN IP has not changed${idsCL[Default]}" + [ "${2}" != 'q' ] && echo -e "${idsCL[Green]}${1^^} WAN IP has not changed${idsCL[Default]}" fi if [ "${2}" != 'q' ]; then