Skip to content

Commit

Permalink
Merge pull request #113 from claymation/patch-1
Browse files Browse the repository at this point in the history
Remove unnecessary hyphen
  • Loading branch information
Matty9191 authored Sep 29, 2021
2 parents 4056cee + 6ddcc2e commit 967b937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl-cert-check
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ check_file_status() {

elif [ "${CERTDIFF}" -lt "${WARNDAYS}" ]; then
if [ "${ALARM}" = "TRUE" ]; then
send_mail "${SENDER}" "${ADMIN}" "Certificate for ${HOST} \"(CN: ${COMMONNAME})\" will expire in ${CERTDIFF}-days or less" \
send_mail "${SENDER}" "${ADMIN}" "Certificate for ${HOST} \"(CN: ${COMMONNAME})\" will expire in ${CERTDIFF} days or less" \
"The SSL certificate for ${HOST} \"(CN: ${COMMONNAME})\" will expire on ${CERTDATE}"
fi
prints "${HOST}" "${PORT}" "Expiring" "${CERTDATE}" "${CERTDIFF}" "${CERTISSUER}" "${COMMONNAME}" "${SERIAL}"
Expand Down

0 comments on commit 967b937

Please sign in to comment.