aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-06-11 12:35:49 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-06-11 12:35:49 +0300
commit6795d3229a0a94d312ee443662046cd619e2fb4b (patch)
tree48f67f265e5f6b461025c965a9cb4b0e046b0c7d
parentb2bd585689c58acce2bcb6b2ad34ce8b2e4761e5 (diff)
downloadacmeman-6795d3229a0a94d312ee443662046cd619e2fb4b.tar.gz
acmeman-6795d3229a0a94d312ee443662046cd619e2fb4b.tar.bz2
Fix previous commit.
-rw-r--r--lib/App/Acmeman.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Acmeman.pm b/lib/App/Acmeman.pm
index de3fb99..5b91bf2 100644
--- a/lib/App/Acmeman.pm
+++ b/lib/App/Acmeman.pm
@@ -321,12 +321,12 @@ sub renew {
foreach my $vhost ($self->selected_domains) {
if ($self->force_option || $self->domain_cert_expires($vhost)) {
if ($self->register_domain_certificate($vhost)) {
- if (my @postrenew = $vhost->postrenew) {
+ if (my $postrenew = $vhost->postrenew) {
local $ENV{ACMEMAN_CERTIFICATE_FILE} =
$vhost->certificate_file;
local $ENV{ACMEMAN_DOMAIN_NAME} = $vhost;
local $ENV{ACMEMAN_ALT_NAMES} = join(' ', $vhost->alt);
- foreach my $cmd (@postrenew) {
+ foreach my $cmd (@$postrenew) {
$self->runcmd($cmd, $vhost);
}
} else {

Return to:

Send suggestions and report system problems to the System administrator.