Skip to content

Commit

Permalink
Fix: use correct var
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Oct 30, 2023
1 parent 1e9e32a commit c3337d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ modify_radio_from_json() {
NEW_CODEC=$(jq -r ".codec" < "$INPUT" | head -1 | tr -d '\n')
local NEW_BITRATE
NEW_BITRATE=$(jq -r ".bitrate" < "$INPUT" | head -1 | tr -d '\n')
if [ -n "$BITRATE" ] && ! is_uint "$BITRATE"
if [ -n "$NEW_BITRATE" ] && ! is_uint "$NEW_BITRATE"
then
echo "Bitrate must be an unsigned value"
exit 1
Expand Down

0 comments on commit c3337d9

Please sign in to comment.