Browse Source

fix bug._ali_nonce not work on solaris

pull/410/head
lc 9 years ago
parent
commit
a09832a9db
  1. 2
      dnsapi/dns_ali.sh

2
dnsapi/dns_ali.sh

@ -105,7 +105,7 @@ _ali_urlencode() {
}
_ali_nonce() {
</dev/urandom | _head_n 1 | _digest "sha256" hex | cut -c 1-31
_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31
}
_check_exist_query() {

Loading…
Cancel
Save