From 2f1bc5864f03ce9b7b3c2e4cbf6f192fabb5f255 Mon Sep 17 00:00:00 2001 From: neilpang Date: Sun, 20 Nov 2016 23:09:57 +0800 Subject: [PATCH] fix format --- dnsapi/dns_aws.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsapi/dns_aws.sh b/dnsapi/dns_aws.sh index c0ab72df..15bf7b14 100644 --- a/dnsapi/dns_aws.sh +++ b/dnsapi/dns_aws.sh @@ -132,7 +132,7 @@ aws_rest() { CanonicalRequest="$mtd\n$CanonicalURI\n$CanonicalQueryString\n$CanonicalHeaders\n$SignedHeaders\n$(printf "%s" "$RequestPayload" | _digest "$Hash" hex)" _debug2 CanonicalRequest "$CanonicalRequest" - + HashedCanonicalRequest="$(printf "$CanonicalRequest%s" | _digest "$Hash" hex)" _debug2 HashedCanonicalRequest "$HashedCanonicalRequest" @@ -197,6 +197,6 @@ aws_rest() { return 1 fi fi - + return "$_ret" }