icann address formatting

This commit is contained in:
Bob Mottram 2018-03-18 14:56:00 +00:00
parent b9777b049f
commit 3f5762078f
1 changed files with 5 additions and 1 deletions

View File

@ -285,7 +285,11 @@ function show_domains {
fi
if [[ "${icann_address}" != '-' ]]; then
W+=("${app_name}" "${icann_address} / ${onion_address}")
if [[ "${onion_address}" != '-' ]]; then
W+=("${app_name}" "${icann_address} / ${onion_address}")
else
W+=("${app_name}" "${icann_address}")
fi
else
W+=("${app_name}" "${onion_address}")
fi