Skip to content

Commit

Permalink
Fix error when installing scripts #27
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Apr 13, 2022
1 parent 78b89ad commit 6683cac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -960,12 +960,13 @@ sub feature_validate
sub feature_webmin
{
my ($d, $alld) = @_;
my @doms = map { $_->{'dom'} } grep { $_->{$module_name} } @$alld;
my @doms = grep { $_->{$module_name} } @$alld;
my @dnames = map { $_->{'dom'} } @doms;
if (@doms) {
# Grant access to Nginx module
my @rv;
push(@rv, [ $module_name,
{ 'vhosts' => join(' ', @doms),
{ 'vhosts' => join(' ', @dnames),
'root' => $d->{'home'},
'global' => 0,
'logs' => 0,
Expand Down

0 comments on commit 6683cac

Please sign in to comment.