mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
1284ff18255f4e7e793b106aa886380b11d86211
When the jq (json query) command executes, it returns 0 if there is a .bluetooth.mac node in the json (which there is, and should be). This means we can't use $? to see if there is a value in the node or not. We need to check the value directly. Verified that this fixes my pairing issues with the BTech UV-Pro. I'm guessing similar issues exist for the other brands of the same radio, but I don't have those to check against.
EmComm Tools OS Community
Description
Languages
Shell
74.9%
HTML
22.9%
Perl
1.2%
C
0.8%
Makefile
0.2%