Account for 0 or 1 servers
This commit is contained in:
parent
3e3fe0e349
commit
5df3a9fffb
2
abra
2
abra
@ -757,7 +757,7 @@ sub_server_ls() {
|
|||||||
|
|
||||||
sub_server_list() {
|
sub_server_list() {
|
||||||
get_servers
|
get_servers
|
||||||
printf "%s servers:\n\n" "${#SERVERS[@]}"
|
printf "%s server(s):\n\n" "${#SERVERS[@]}"
|
||||||
for SERVER in "${SERVERS[@]}"; do
|
for SERVER in "${SERVERS[@]}"; do
|
||||||
echo " ${SERVER##*/}"
|
echo " ${SERVER##*/}"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user