check-certificates: update wording, indent output

This commit is contained in:
Christian Hesse 2026-02-05 08:19:50 +01:00
parent d0f50142f5
commit 68ed97205c

View file

@ -155,7 +155,7 @@
[ $FormatLine " days" ($CertVal->"days-valid") ] . "\n" . \
[ $FormatLine " from" ($CertVal->"invalid-before") ] . "\n" . \
[ $FormatLine " to" ($CertVal->"invalid-after") ] . "\n" . \
[ $FormatLine "Expires in" [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ] ]);
[ $FormatLine " time left" [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ] ]);
}
:if ([ $ScriptLock $ScriptName ] = false) do={