diff --git a/defaults.inc b/defaults.inc index c60c840b..f7892af7 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.7.111-10142024' +VERS='2.7.113-10222024' noheader=' update service dailytemp confsync -r -report test ' diff --git a/powerwall.sh b/powerwall.sh index 2af76181..a7c8d779 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -507,7 +507,7 @@ SHUTDOWN_SERVER(){ c=0; MSG_SPC=''; spc1=`expr ${HC_CW} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done echo -en "${idsCL[White]}${MSG}${MSG_SPC}: " if [ "${TEST}" != "true" ]; then - sleep 60s && ${PW_FOLDER}/esxi-scripts/set-drs.ps1 2 >/dev/null 2>&1 & + { sleep 60s; ${PW_FOLDER}/esxi-scripts/set-drs.ps1 2 >/dev/null 2>&1; } & echo -e "${idsCL[Green]}Command Sent${idsCL[Default]}\n" else echo -e "${idsCL[Yellow]}(TEST MODE)${idsCL[Default]}\n"