Skip to content

Commit 289b909

Browse files
committed
Fix masking variables in the same scope
1 parent fc85805 commit 289b909

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Virtualmin/Config/Plugin/Apache.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ sub actions {
4040
foreign_require("apache");
4141

4242
# Start Apache on boot if disabled
43-
my @apache_mods = ('apache2', 'httpd', 'httpd24');
44-
foreach my $service (@apache_mods) {
43+
my @apache_cmds = ('apache2', 'httpd', 'httpd24');
44+
foreach my $service (@apache_cmds) {
4545
if (init::action_status($service) == 1) {
4646
init::enable_at_boot($service);
4747
last;

0 commit comments

Comments
 (0)