From 09cb031bb18c7b52046779d912c6aeb96fd104a5 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Tue, 25 Jun 2002 20:30:41 +0000 Subject: [PATCH] Fixed bug which caused apache to restart regardless of answer to question. --- installer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.pl b/installer.pl index 93d04fd6de..ec98557d56 100644 --- a/installer.pl +++ b/installer.pl @@ -687,7 +687,7 @@ Would you like to restart your webserver now? (Y/[N]): my $restart = ; chomp $restart; -if ($answer=~/^y/i) { +if ($restart=~/^y/i) { # Need to support other init structures here? if (-e "/etc/rc.d/init.d/httpd") { system('/etc/rc.d/init.d/httpd restart'); -- 2.39.5