mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +00:00
Simple Fix
This commit is contained in:
parent
4b245fbf40
commit
bfe9ce3f0e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user