@ -315,7 +315,7 @@ update_camera_in_yml() {
if [ -n "$mask" ]; then
set_yml_value $name ".motion.mask" "[\"$mask\"]"
else
echo "Mask is empty, ignoring."
yq eval "del(.cameras.$name.motion)" -i /opt/docker2/compose/frigate/config.yml
fi
}