From 7ae6d57543d5cf0fb2fe743bcc22ce7d8646dcfa Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 10 Dec 2015 15:38:30 +0000 Subject: [PATCH] Indentation --- src/freedombone-pin-cert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-pin-cert b/src/freedombone-pin-cert index 877069cb..a707a791 100755 --- a/src/freedombone-pin-cert +++ b/src/freedombone-pin-cert @@ -50,7 +50,7 @@ KEY_HASH=$(openssl rsa -in $KEY_FILENAME -outform der -pubout | openssl dgst -sh PIN_HEADER="add_header Public-Key-Pins 'pin-sha256=\"${KEY_HASH}\"; max-age=5184000; includeSubDomains';" if ! grep -q "add_header Public-Key-Pins" $SITE_FILENAME; then - sed -i "/ssl_ciphers.*/a $PIN_HEADER" $SITE_FILENAME + sed -i "/ssl_ciphers.*/a $PIN_HEADER" $SITE_FILENAME else sed -i "s/add_header Public-Key-Pins.*/$PIN_HEADER/g" $SITE_FILENAME fi