Browse Source

shfmt fixes

pull/3136/head
Ed Lynes 4 years ago
parent
commit
339218508d
  1. 4
      dnsapi/dns_edgedns.sh

4
dnsapi/dns_edgedns.sh

@ -361,9 +361,9 @@ _edgedns_eg_timestamp() {
_edgedns_new_nonce() { _edgedns_new_nonce() {
_nonce=$(uuidgen -r) _nonce=$(uuidgen -r)
_ret="$?" _ret="$?"
if [ "$_ret" -ne 0 ]; then
if [ "$_ret" -ne 0 ]; then
_nonce=$(echo "EDGEDNS$(_time)" | _digest sha1 hex | cut -c 1-32) _nonce=$(echo "EDGEDNS$(_time)" | _digest sha1 hex | cut -c 1-32)
fi
fi
_debug3 "_nonce" "$_nonce" _debug3 "_nonce" "$_nonce"
} }

Loading…
Cancel
Save