diff --git a/powerwall.sh b/powerwall.sh index 71781f61..369e06f2 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -901,8 +901,7 @@ GET_SNAPSHOTS(){ DIVIDER . lightGreen 70 echo -en "${idsCL[LighGreen]}Looking for snapshots...${idsCL[Default]}" result=`${PW_FOLDER}/esxi-scripts/get-snapshots.ps1 ${ESXIHOST}` - echo -e "\033[2K" - [ "${result}" != "" ] && echo -e "\033[1A${result}" || echo -e "\033[1A No snapshots found" + [ "${result}" != "" ] && echo -e "\033[2K\033[1A${result}" || echo -e "\e[0K\r No snapshots found" DIVIDER true lightGreen 70 fi done diff --git a/run.sh b/run.sh index 99d798a6..6091b1c5 100755 --- a/run.sh +++ b/run.sh @@ -44,7 +44,7 @@ if [ "${1}" == "update" ]; then source /opt/idssys/powerwall/defaults.inc if [ "${2}" != "q" ]; then echo -en "\e[1A"; - echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}" + echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}\n" fi # echo -en "${idsCL[Yellow]}Restarting Powerwall services to apply update ${idsCL[White]}... " # /opt/idssys/powerwall/powerwall.sh service all restart >/dev/null 2>&1