Simple Fix

This commit is contained in:
nyx 2024-08-16 00:18:55 -04:00 committed by GitHub
parent 4b245fbf40
commit bfe9ce3f0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,7 @@ prompt_for_mac() {
fi fi
# Display devices with numbers # 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 for i in "${!device_list[@]}"; do
echo "$((i+1)). ${device_list[$i]}" echo "$((i+1)). ${device_list[$i]}"
done done
@ -128,4 +128,4 @@ remove_device() {
} }
# Initialize # Initialize
main_menu main_menu