Skip to content

Commit

Permalink
Fix perl warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jul 18, 2020
1 parent 85c5943 commit e855412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e855412

Please sign in to comment.