diff --git a/virtual_feature.pl b/virtual_feature.pl index bda1a3b..9a031fc 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -489,7 +489,7 @@ sub feature_modify # Rename log files if needed my $new_alog = &virtual_server::get_apache_template_log($d, 0); my $new_elog = &virtual_server::get_apache_template_log($d, 1); - if ($old_alog ne $new_alog) { + if ($old_alog && $old_elog && $old_alog ne $new_alog) { &$virtual_server::first_print($text{'feat_modifylog'}); my $server = &find_domain_server($d); if (!$server) {