Skip to content

Commit

Permalink
Update postData.sh: typo and SC2086
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Sep 18, 2023
1 parent d555ae1 commit 5fa7543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/postData.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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 $?
}

Expand Down

0 comments on commit 5fa7543

Please sign in to comment.