Browse Source

fix bug in the --ca-bundle param of passing -f to _readlink

When _readlink is called the -f param must not be passed. _readlink (with
leading underscore) is a wrapper around readlink (without leading
underscore). _readlink already passes -f to readlink, that's why it must
not be passed to _readlink.
cron
Holger Böhnke 7 years ago
parent
commit
78d1cfb464
  1. 2
      acme.sh

2
acme.sh

@ -5510,7 +5510,7 @@ _process() {
HTTPS_INSECURE="1" HTTPS_INSECURE="1"
;; ;;
--ca-bundle) --ca-bundle)
_ca_bundle="$(_readlink -f "$2")"
_ca_bundle="$(_readlink "$2")"
CA_BUNDLE="$_ca_bundle" CA_BUNDLE="$_ca_bundle"
shift shift
;; ;;

Loading…
Cancel
Save