corretto parametri in sendmail.sh

This commit is contained in:
lejubila
2017-11-01 18:03:52 +01:00
parent daf8a7baa6
commit 80bcbbc92a

View File

@@ -29,8 +29,7 @@ BODY=""
case "$EVENT" in
"init_before" | "init_after")
STATE="$2"
TIME=$3
TIME=$2
BODY="PiGarden triggered new event\n\nEVENT: $EVENT\nTIME: $(/bin/date -d@$TIME)"
;;