From 6bbb7b44ec2224926ade67d7fc8785ffa3d75930 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 12 Jul 2017 23:00:56 +0100 Subject: [PATCH] bin/reissue: Fix swallowing of nonzero exit status. --- bin/reissue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reissue b/bin/reissue index 3758327..297edcd 100755 --- a/bin/reissue +++ b/bin/reissue @@ -14,6 +14,6 @@ for tagdir in $home/cert/*; do tag=${tagdir##*/} cert=$tagdir/full-chain if openssl x509 -in "$cert" -noout -checkend $certlife; then continue; fi set +e; $home/bin/make-cert "$tag"; rc=$?; set -e - case $? in 0) ;; *) myrc=$rc ;; esac + case $rc in 0) ;; *) myrc=$rc ;; esac done exit $myrc -- 2.11.0