]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
replace head -1, add link to GitHub
authorseidler2547 <github@stefanseidel.info>
Thu, 8 Dec 2016 07:43:29 +0000 (08:43 +0100)
committerStefan Seidel <lkml@stefanseidel.info>
Thu, 23 Feb 2017 20:59:12 +0000 (20:59 +0000)
dnsapi/dns_do.sh

index bbf86bac0eb7be700a9763a4bd0167ce227c0f71..b718cd416dd18cef565bb98cbe0b60b180617f17 100755 (executable)
@@ -2,6 +2,9 @@
 
 # DNS API for Domain-Offensive / Resellerinterface / Domainrobot
 
+# Report bugs at https://github.com/seidler2547/acme.sh/issues
+
+# set these environment variables to match your customer ID and password:
 # DO_PID="KD-1234567"
 # DO_PW="cdfkjl3n2"
 
@@ -106,7 +109,7 @@ _dns_do_soap() {
   _debug2 "SOAP response $response"
 
   # retrieve cookie header
-  _H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | head -1)"
+  _H2="$(_egrep_o 'Cookie: [^;]+' <"$HTTP_HEADER" | _head_n 1)"
 
   return 0
 }