From 2c06a14d19735d00c736ded5bf4416d48fa85373 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 11 Feb 2016 22:45:21 +0100 Subject: [PATCH] renew() should return the function result code of issue() currently the renew function does always return 0 even when the cert issuing failed. for now just return the function return code of issue(). maybe an additional offset (like +100) should be added to distinguish the issue error codes from the renew error codes. --- le.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/le.sh b/le.sh index 64f6cede..953136e3 100755 --- a/le.sh +++ b/le.sh @@ -892,7 +892,10 @@ renew() { IS_RENEW="1" issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" + local res=$? IS_RENEW="" + + return $res } renewAll() {