diff --git a/transmission/rootfs/etc/cont-init.d/19-json_repair.sh b/transmission/rootfs/etc/cont-init.d/19-json_repair.sh index acd5f2cd2..1c86b4a3a 100644 --- a/transmission/rootfs/etc/cont-init.d/19-json_repair.sh +++ b/transmission/rootfs/etc/cont-init.d/19-json_repair.sh @@ -23,7 +23,7 @@ if [ -f ${JSONTOCHECK} ]; then # Check if all keys are still there, or add them # spellcheck disable=SC2068 - for KEYS in ${arr[@]}; do + for KEYS in "${arr[@]}"; do # Check if key exists KEYSTHERE=$(jq "has(\"${KEYS}\")" ${JSONTOCHECK}) if [ "$KEYSTHERE" != "true" ]; then