shfmt fixes

This commit is contained in:
Ed Lynes 2020-08-28 09:55:20 -04:00
parent 9c28a04c65
commit 9801876a2f
1 changed files with 2 additions and 2 deletions

View File

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