]> git.siccegge.de Git - tools.git/commitdiff
Fix typo
authorChristoph Egger <christoph@anonymous.siccegge.de>
Sat, 22 Nov 2014 22:46:30 +0000 (23:46 +0100)
committerChristoph Egger <christoph@anonymous.siccegge.de>
Sat, 22 Nov 2014 22:46:30 +0000 (23:46 +0100)
tls-check

index 92b1b83b129fea3f2f19394b8a15af0d60e43b11..467a753fbdba288a4021769e3bd3985258681257 100644 (file)
--- 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