Fix shellcheck

This commit is contained in:
Guillaume Lostis 2020-06-19 14:02:31 +02:00
parent 1d55c4ee50
commit 3bd3524de2

View file

@ -144,7 +144,7 @@ else
# Resolve sshconfig aliases
if [[ -e "$ssh_config" ]]; then
domain_resolv=$(ssh_resolve "$domain")
if [[ ! -z "$domain_resolv" ]]; then
if [[ -n "$domain_resolv" ]]; then
domain="$domain_resolv"
fi
fi