summaryrefslogtreecommitdiffstats
path: root/web_wizard/Apache.pm
diff options
context:
space:
mode:
Diffstat (limited to 'web_wizard/Apache.pm')
-rwxr-xr-xweb_wizard/Apache.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm
index 30a2e772..b35905a7 100755
--- a/web_wizard/Apache.pm
+++ b/web_wizard/Apache.pm
@@ -249,8 +249,8 @@ sub do_it {
$::testing and return;
my $in = 'interactive'->vnew('su', 'Apache');
if (!services::starts_on_boot('httpd')) {
- my $start_httpd = $in->ask_yesorno(N("Start %s server on boot", "httpd"), N("Would you like to start the %s service automatically on every boot?", "httpd"), 1);
- if ($start_httpd) {
+ my $start_service = $in->ask_yesorno(N("Start %s server on boot", "httpd"), N("Would you like to start the %s service automatically on every boot?", "httpd"), 1);
+ if ($start_service) {
services::start_service_on_boot('httpd');
}
}