Fix state -> state_is

This commit is contained in:
Darko Poljak 2020-07-08 12:43:55 +02:00
parent fde5627721
commit cb9933b4a0
1 changed files with 1 additions and 1 deletions

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