diff --git a/powerwall.sh b/powerwall.sh index a1ddc89f..aec66096 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -148,6 +148,7 @@ CHECKACV_SERVICE(){ if [ $voltstatus -eq 0 ]; then echo -e "($datetime) Service Startup\nNormal voltage detected\nVOLTAGE: ${INPUTACV}V" | mail -s "Power Nominal" $email_alert echo "($datetime) Service Startup - Normal voltage detected\nVOLTAGE: ${INPUTACV}V" + fi fi voltstatus=1 else