From 920611759afd9c63f53e9b4944ffa8848106552f Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Wed, 17 Apr 2019 23:36:30 -0700 Subject: [PATCH] Fix exit handling --- report-expiry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report-expiry.php b/report-expiry.php index 085bbfa..2e2e36b 100644 --- a/report-expiry.php +++ b/report-expiry.php @@ -52,7 +52,7 @@ function report( $exit = true ): void { ]; if ( ! $dir_includes_expired && $cert_data[3] <= 0 ) { - $dir_includes_expired; + $dir_includes_expired = true; } if ( isset( $x509['extensions']['subjectAltName'] ) ) { -- GitLab