Typo in old action button scripts deletion.

This commit is contained in:
clewsy 2020-02-20 21:53:11 +11:00
parent 7b413c24d7
commit c6a1591b11

View file

@ -46,7 +46,7 @@ fi
# Remove any existing action buttons before recreating
for old_action in lock unlock light alarm up right down left zoom preset; do
find /data/motioneye/. -name "old_action*" -delete
find /data/motioneye/. -name "${old_action}*" -delete
done
# Creates action button scripts if any are configured