remove uuidgen

This commit is contained in:
Ed Lynes 2020-10-14 14:49:09 -04:00
parent ff8fe7e018
commit 5aff548794

View File

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