X-Git-Url: https://git.siccegge.de//index.cgi?p=tools.git;a=blobdiff_plain;f=tls-check;h=467a753fbdba288a4021769e3bd3985258681257;hp=92b1b83b129fea3f2f19394b8a15af0d60e43b11;hb=59006d84363030b7473c9bc11833ce9e12136b59;hpb=1f73719477ce15cdc097fd0089c01aaa6e7758f3 diff --git a/tls-check b/tls-check index 92b1b83..467a753 100644 --- a/tls-check +++ b/tls-check @@ -88,7 +88,7 @@ def main(): configuration['names'] = opts.names if opts.warn: configuration['warn_days'] = opts.warn - if opts.warn: + if opts.crit: configuration['crit_days'] = opts.crit if opts.ca: configuration['cacertificates'] = opts.ca