Commit ca2a96b3 authored by neil's avatar neil
Browse files

ignore the installcert error for 'issue'

parent 4d2f38b0
...@@ -1474,7 +1474,10 @@ issue() { ...@@ -1474,7 +1474,10 @@ issue() {
installcert $Le_Domain "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" installcert $Le_Domain "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath"
if [ "$?" = "9" ] ; then
#ignore the empty install error.
return 0
fi
} }
renew() { renew() {
...@@ -1609,7 +1612,7 @@ installcert() { ...@@ -1609,7 +1612,7 @@ installcert() {
if [ "$_installed" = "0" ] ; then if [ "$_installed" = "0" ] ; then
_err "Nothing to install. You don't specify any parameter." _err "Nothing to install. You don't specify any parameter."
return 1 return 9
fi fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment