ignore the installcert error for 'issue'

This commit is contained in:
neil committed 2016-04-27 22:29:35 +08:00
1 parent 4d2f38b03a
commit ca2a96b3f3
1 file changed
+5 -2
+5 -2
View File
@@ -1474,7 +1474,10 @@ issue() {
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() {
@@ -1609,7 +1612,7 @@ installcert() {
if [ "$_installed" = "0" ] ; then
_err "Nothing to install. You don't specify any parameter."
return 1
return 9
fi
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.