Commit 9801876a authored by Ed Lynes's avatar Ed Lynes
Browse files

shfmt fixes

parent 9c28a04c
......@@ -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"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment