Missing return when skipping log file checks

Related to #661 - message is OK - and other changes to skip checks work as intended, but without a return here, it will look for local log files.
This commit is contained in:
John Salter 2023-06-12 13:48:35 +01:00 committed by GitHub
parent 7cbcb91ef6
commit 9a0fb10d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1431,6 +1431,7 @@ sub get_log_file_real_path {
sub log_file_recommendations {
if ( is_remote eq 1 ) {
infoprint "Skipping error log files checks on remote host";
return;
}
my $fh;
$myvar{'log_error'} = $opt{'server-log'}