From de9bd7335381befbb51992beb3f79b40d8a010f0 Mon Sep 17 00:00:00 2001 From: Joe cooper Date: Sun, 28 May 2017 14:32:40 -0500 Subject: [PATCH] Version 6.0.2 --- dist.ini | 2 +- lib/Virtualmin/Config/Plugin/Apache.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist.ini b/dist.ini index 48e9bbf..073ff60 100644 --- a/dist.ini +++ b/dist.ini @@ -1,5 +1,5 @@ name = Virtualmin-Config -version = 6.0.1 +version = 6.0.2 author = Joe Cooper license = GPL_3 copyright_holder = Joe Cooper diff --git a/lib/Virtualmin/Config/Plugin/Apache.pm b/lib/Virtualmin/Config/Plugin/Apache.pm index 8930a57..980e6f2 100644 --- a/lib/Virtualmin/Config/Plugin/Apache.pm +++ b/lib/Virtualmin/Config/Plugin/Apache.pm @@ -60,7 +60,7 @@ sub actions { `echo Listen 443 >> /etc/apache2/ports.conf`; } # New Ubuntu doesn't use this. - if (unless $init_mode eq "systemd") { + unless ($init::init_mode eq "systemd") { my $fn = "/etc/default/apache2"; my $apache2default = read_file_lines($fn) or die "Failed to open $fn!"; my $idx = indexof("NO_START=1");