fix: gross error
This commit is contained in:
parent
cd7a71d8e1
commit
c927f66f3f
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ case $1 in
|
|||
if test -s "${cert}"; then
|
||||
domain="`certtool -i < "${cert}" | grep Subject: | cut -d = -f 2 | tr -d " "`"
|
||||
|
||||
if grep -q "^${subject}$" "${domains}"; then
|
||||
if grep -q "^${domain}$" "${domains}"; then
|
||||
echo "ok - ${domain} certificate correctly set"
|
||||
else
|
||||
not_ok "${domain} certificate is not needed anymore, removing"
|
||||
|
|
Loading…
Reference in a new issue