remove potential chatter in auto-update paired list
This commit is contained in:
parent
700e1fec43
commit
9d4d543384
2
bt
2
bt
@ -34,7 +34,7 @@ scan(){
|
|||||||
|
|
||||||
#Check bluetoothctl devices Paired for new devices to be hardcoded into pair list
|
#Check bluetoothctl devices Paired for new devices to be hardcoded into pair list
|
||||||
update_pair_list(){
|
update_pair_list(){
|
||||||
btctl_paired_devices="$(bluetoothctl devices Paired)"
|
btctl_paired_devices="$(bluetoothctl devices Paired | grep '^Device')"
|
||||||
if [ -n "$btctl_paired_devices" ]
|
if [ -n "$btctl_paired_devices" ]
|
||||||
then
|
then
|
||||||
#do not modify files when issues occur
|
#do not modify files when issues occur
|
||||||
|
Loading…
x
Reference in New Issue
Block a user