Browse Source

fix issue. return the actual retcode.

neil 9 years ago
parent
commit
d3595686f6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      acme.sh

+ 4 - 0
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"