Merge pull request #4410 from kirisakow/patch-1

Trim trailing slash in `--home` argument's value from the get-go to avoid that subsequently created paths contain two adjacent slashes in the middle
This commit is contained in:
neil
2022-11-28 09:58:46 +08:00
committed by GitHub

View File

@@ -7496,7 +7496,7 @@ _process() {
shift
;;
--home)
export LE_WORKING_DIR="$2"
export LE_WORKING_DIR="$(echo "$2" | sed 's|/$||')"
shift
;;
--cert-home | --certhome)