Skip to content

Commit

Permalink
Removed unused argument 7 (_backup_prefix) from _installcert().
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Velter committed Aug 16, 2024
1 parent bb8386a commit fc7964d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5866,7 +5866,6 @@ _installcert() {
_real_ca="$4"
_real_fullchain="$5"
_reload_cmd="$6"
_backup_prefix="$7"

if [ "$_real_cert" = "$NO_VALUE" ]; then
_real_cert=""
Expand All @@ -5884,7 +5883,7 @@ _installcert() {
_real_fullchain=""
fi

_backup_path="$DOMAIN_BACKUP_PATH/$_backup_prefix"
_backup_path="$DOMAIN_BACKUP_PATH"
mkdir -p "$_backup_path"

if [ "$_real_cert" ]; then
Expand Down

0 comments on commit fc7964d

Please sign in to comment.