Browse Source

Update acme.sh

Sometimes the result of 0 was not properly passed into the if condition, unless stored by _status variable first.
pull/1067/head
Shane 7 years ago
committed by GitHub
parent
commit
4afd5c48f1
  1. 3
      acme.sh

3
acme.sh

@ -4885,8 +4885,9 @@ install() {
fi
cp "$PROJECT_ENTRY" "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/$PROJECT_ENTRY"
_status=`echo $?`
if [ "$?" != "0" ]; then
if [ "$_status" != "0" ]; then
_err "Install failed, can not copy $PROJECT_ENTRY"
return 1
fi

Loading…
Cancel
Save