diff --git a/src/commands/utils/bluetooth-control.sh b/src/commands/utils/bluetooth-control.sh index ecfd53ad..e5e02fc6 100644 --- a/src/commands/utils/bluetooth-control.sh +++ b/src/commands/utils/bluetooth-control.sh @@ -75,7 +75,7 @@ prompt_for_mac() { fi # Display devices with numbers - IFS=$'\n' read -rd '' -a device_list <<<"$devices" + IFS=$'\n' read -r -a device_list <<<"$devices" for i in "${!device_list[@]}"; do echo "$((i+1)). ${device_list[$i]}" done @@ -128,4 +128,4 @@ remove_device() { } # Initialize -main_menu \ No newline at end of file +main_menu