From d3595686f6df3ec4de63718e7c1c2df9efcf3dca Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 9 May 2016 22:56:19 +0800 Subject: [PATCH] fix issue. return the actual retcode. --- acme.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/acme.sh b/acme.sh index cbee98fa..fa58c387 100755 --- a/acme.sh +++ b/acme.sh @@ -2393,6 +2393,10 @@ _process() { return 1 ;; esac + _ret="$?" + if [ "$_ret" != "0" ] ; then + return $_ret + fi if [ "$_useragent" ] ; then _saveaccountconf "USER_AGENT" "$_useragent"