Changed response check on restarting apache web server.

This commit is contained in:
tonnesen 2002-06-25 20:23:43 +00:00
parent dd0289e9c7
commit ff666ea605
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ Would you like to restart your webserver now? (Y/[N]):
my $restart = <STDIN>;
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');