Fix HSTS/HPKP includeSubDomains and preload being broken in file output.

This commit is contained in:
Florian Schuetz 2016-06-21 08:57:39 +02:00
parent 02e9f5cd23
commit f8579ee2f7
1 changed files with 4 additions and 4 deletions

View File

@ -855,19 +855,19 @@ run_http_date() {
includeSubDomains() {
if grep -aiqw includeSubDomains "$1"; then
pr_done_good ", includeSubDomains"
return 1
return 0
else
pr_litecyan ", just this domain"
return 0
return -1
fi
}
preload() {
if grep -aiqw preload "$1"; then
pr_done_good ", preload"
return 1
else
return 0
else
return -1
fi
}