remove potential chatter in auto-update paired list

This commit is contained in:
Alexander Bocken 2025-06-06 15:03:45 +02:00
parent 700e1fec43
commit 9d4d543384
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

2
bt
View File

@ -34,7 +34,7 @@ scan(){
#Check bluetoothctl devices Paired for new devices to be hardcoded into pair list
update_pair_list(){
btctl_paired_devices="$(bluetoothctl devices Paired)"
btctl_paired_devices="$(bluetoothctl devices Paired | grep '^Device')"
if [ -n "$btctl_paired_devices" ]
then
#do not modify files when issues occur