fix(bluetooth-manager): wrong display of device list

This commit is contained in:
Jeevitha Kannan K S 2025-02-02 16:12:17 +05:30
parent ba69ca9aa5
commit 2c5060b0f0
No known key found for this signature in database
GPG Key ID: 5904C34A2F7CE333

View File

@ -83,7 +83,7 @@ prompt_for_mac() {
# Display devices with numbers # Display devices with numbers
i=1 i=1
for device in $device_list; do echo "$devices" | while IFS= read -r device; do
printf "%d. %s\n" "$i" "$device" printf "%d. %s\n" "$i" "$device"
i=$((i + 1)) i=$((i + 1))
done done