diff --git a/installer.pl b/installer.pl index 175ec20073..93d04fd6de 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 eq "Y" || $answer eq "y") { +if ($answer=~/^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');