From 2d7d4abe960770b88fbdb0ad872aab1af24298c8 Mon Sep 17 00:00:00 2001 From: masem Date: Sun, 7 Jun 2020 05:43:50 +0200 Subject: [PATCH] Spell check --- dnsapi/dns_wedos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_wedos.sh b/dnsapi/dns_wedos.sh index 97861f09..ca9a252c 100644 --- a/dnsapi/dns_wedos.sh +++ b/dnsapi/dns_wedos.sh @@ -129,7 +129,7 @@ _wedos_init() { WEDOS_Hash="${WEDOS_Hash:-$(_readaccountconf_mutable WEDOS_Hash)}" WEDOS_User="${WEDOS_User:-$(_readaccountconf_mutable WEDOS_User)}" - if [ ! -z "$WEDOS_Pass" && -z "$WEDOS_Hash" ]; then + if [ -n "$WEDOS_Pass" ] && [ -z "$WEDOS_Hash" ]; then WEDOS_Hash=$(printf "%s" "$WEDOS_Pass" | _digest sha1 1) fi