Fix state -> state_is

This commit is contained in:
Darko Poljak 2020-07-08 12:43:55 +02:00
parent fde5627721
commit cb9933b4a0

View file

@ -19,7 +19,7 @@ then
echo 'downloaded' > "$__messages_out"
fi
if [ -f "$__object/parameter/onchange" ] && [ "$state" != "present" ]
if [ -f "$__object/parameter/onchange" ] && [ "$state_is" != "present" ]
then
cat "$__object/parameter/onchange"
fi