From 5fa7543b207b61e5868a04cc3124c2ddd2b76479 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Mon, 18 Sep 2023 09:36:45 -0500 Subject: [PATCH] Update postData.sh: typo and SC2086 --- scripts/postData.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/postData.sh b/scripts/postData.sh index 39556e7a2..086609a19 100755 --- a/scripts/postData.sh +++ b/scripts/postData.sh @@ -91,7 +91,7 @@ if [[ ${SETTINGS_ONLY} == "false" ]]; then fi [[ ${OK} == "false" ]] && exit 1 - angle="$( settings "_.angle" )" + angle="$( settings "._angle" )" timezone="$( date "+%z" )" # If nighttime happens after midnight, sunwait returns "--:-- (Midnight sun)" @@ -146,7 +146,8 @@ function upload_file() return 1 fi - upload_all "${WHERE}" "${FILE_TO_UPLOAD}" "${DIRECTORY}" "" "PostData" + #shellcheck disable=SC2086 + upload_all ${WHERE} "${FILE_TO_UPLOAD}" "${DIRECTORY}" "" "PostData" return $? }