fix renewAll bug

$CERT_HOME is required by renewAll, but wasn't initialized.
This commit is contained in:
Richard van Dijk authored and neil committed 2016-04-18 08:37:35 +08:00
1 parent a1048c48e4
commit a79b26af6c
1 file changed
+5 -5
+5 -5
View File
@@ -824,17 +824,17 @@ _initpath() {
ACCOUNT_KEY_PATH="$_DEFAULT_ACCOUNT_KEY_PATH"
fi
_DEFAULT_CERT_HOME="$LE_WORKING_DIR"
if [ -z "$CERT_HOME" ] ; then
CERT_HOME="$_DEFAULT_CERT_HOME"
fi
domain="$1"
if [ -z "$domain" ] ; then
return 0
fi
_DEFAULT_CERT_HOME="$LE_WORKING_DIR"
if [ -z "$CERT_HOME" ] ; then
CERT_HOME="$_DEFAULT_CERT_HOME"
fi
domainhome="$CERT_HOME/$domain"
mkdir -p "$domainhome"
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.