From 56d76c2df220dff56d75162f72d50b68c12f2832 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 22 Oct 2023 08:26:17 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index d17e4e17..83794ebe 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -901,9 +901,9 @@ GET_SNAPSHOTS(){ DIVIDER . lightGreen 70 echo -en "${idsCL[LighGreen]}Looking for snapshots...${idsCL[Default]}" snapshots=`${PW_FOLDER}/esxi-scripts/get-snapshots.ps1 ${ESXIHOST}` - if [ "${result}" != "" ]; then + if [ "${snapshots}" != "" ]; then echo -en "\033[2K\033[1A" - echo ${result} + echo ${snapshots} # for snapshot in $(echo ${snapshots} | jq -r '.[] | @base64'); do # vm=`echo ${snapshot} | base64 --decode | jq -r '.VM'` # name=`echo ${snapshot} | base64 --decode | jq -r '.Name'`