From 6c35bd8c8aeb92d7acfb179debd8d8e8fad0d974 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 16 Feb 2022 20:45:21 +0100 Subject: [PATCH] Update 19-json_repair.sh --- .templates/19-json_repair.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/19-json_repair.sh b/.templates/19-json_repair.sh index 2d07fd5df..200ea58d7 100644 --- a/.templates/19-json_repair.sh +++ b/.templates/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