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
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user