Account for 0 or 1 servers

This commit is contained in:
Luke Murphy 2020-10-28 17:33:48 +01:00
parent 3e3fe0e349
commit 5df3a9fffb
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

2
abra
View File

@ -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