Explorar o código

dns_gcloud: disable argument parsing for challenges

fixes #3596
Reto Schüttel %!s(int64=3) %!d(string=hai) anos
pai
achega
c2b14d3075
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      dnsapi/dns_gcloud.sh

+ 2 - 2
dnsapi/dns_gcloud.sh

@@ -98,7 +98,7 @@ _dns_gcloud_remove_rrs() {
     --ttl="$ttl" \
     --type=TXT \
     --zone="$managedZone" \
-    --transaction-file="$tr"; then
+    --transaction-file="$tr" --; then
     _debug tr "$(cat "$tr")"
     rm -r "$trd"
     _err "_dns_gcloud_remove_rrs: failed to remove RRs"
@@ -113,7 +113,7 @@ _dns_gcloud_add_rrs() {
     --ttl="$ttl" \
     --type=TXT \
     --zone="$managedZone" \
-    --transaction-file="$tr"; then
+    --transaction-file="$tr" --; then
     _debug tr "$(cat "$tr")"
     rm -r "$trd"
     _err "_dns_gcloud_add_rrs: failed to add RRs"