diff --git a/powerwall.sh b/powerwall.sh index 435a43f9..a1c21c26 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -1615,6 +1615,7 @@ PDUCONTROL(){ ;; *) if [ "${PORT_SEL}" == "" ]; then + unset PORTSEL PDUCONTROL exit 0 fi