File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -3164,10 +3164,15 @@ sub mysql_stats {
3164
3164
infoprint
3165
3165
" Skipped name resolution test due to missing skip_name_resolve in system variables." ;
3166
3166
}
3167
- elsif ( -r " /etc/psa/.psa.shadow" and $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
3168
- infoprint " CPanel and Flex system skip-name-resolve should be on" ;
3169
- push (@generalrec , " cPanal and skip-name-resolve: https://support.cpanel.net/hc/en-us/articles/360052752094" );
3170
- push (@adjvars , " skip-name-resolve=0" );
3167
+ # Cpanel and Skip name resolve
3168
+ elsif ( -r " /usr/local/cpanel/cpanel" ){
3169
+ if ( $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
3170
+ badprint " CPanel and Flex system skip-name-resolve should be on" ;
3171
+ push (@generalrec , " name resolution is enabled due to cPanel doesn't support this disabled." );
3172
+ push (@adjvars , " skip-name-resolve=0" );
3173
+ else {
3174
+ infoprint " CPanel and Flex system skip-name-resolve should be on" ;
3175
+ }
3171
3176
}
3172
3177
elsif ( $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
3173
3178
badprint
You can’t perform that action at this time.
0 commit comments