Fix bug in single monostable solenodid management caused from wrong variable name EV_IS_MONOSTAVLE

This commit is contained in:
lejubila
2018-11-11 11:14:28 +01:00
parent d324faf8bb
commit e284bbcb25

View File

@@ -86,7 +86,7 @@ function ev_open {
local EV_IS_REMOTE_VAR=EV"$EVNUM"_REMOTE
local EV_IS_REMOTE=${!EV_IS_REMOTE_VAR}
local EV_IS_MONOSTABLE_VAR=EV"$EVNUM"_MONOSTABLE
local EV_IS_MONOSTABLE=${!EV_IS_MONOSTAVLE_VAR}
local EV_IS_MONOSTABLE=${!EV_IS_MONOSTABLE_VAR}
if [ ! "$2" = "force" ] && [ "$EVNORAIN" != "1" ]; then
if [[ "$NOT_IRRIGATE_IF_RAIN_ONLINE" -gt 0 && -f $STATUS_DIR/last_rain_online ]]; then