diff options
Diffstat (limited to 'lib/App/Acmeman.pm')
-rw-r--r-- | lib/App/Acmeman.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/App/Acmeman.pm b/lib/App/Acmeman.pm index 01191ab..02231bf 100644 --- a/lib/App/Acmeman.pm +++ b/lib/App/Acmeman.pm @@ -333,7 +333,8 @@ sub renew { local $ENV{ACMEMAN_ALT_NAMES} = join(' ', map { ($_->alt) } @renewed); if ($self->cf->is_set(qw(core postrenew))) { - foreach my $cmd ($self->cf->get(qw(core postrenew))) { + foreach my $cmd (grep { defined($_) } + $self->cf->get(qw(core postrenew))) { $self->runcmd($cmd); } } else { |