From 3bd3524de2df5816b6e3058ff6182dd9cabe352d Mon Sep 17 00:00:00 2001 From: Guillaume Lostis Date: Fri, 19 Jun 2020 14:02:31 +0200 Subject: [PATCH] Fix shellcheck --- git-open | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-open b/git-open index d663a8d..b7b55cb 100755 --- a/git-open +++ b/git-open @@ -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