File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3166,12 +3166,13 @@ sub mysql_stats {
3166
3166
}
3167
3167
# Cpanel and Skip name resolve
3168
3168
elsif ( -r " /usr/local/cpanel/cpanel" ){
3169
+ if ( $result {' Variables' }{' skip_name_resolve' } ne ' OFF' ) {
3170
+ infoprint " CPanel and Flex system skip-name-resolve should be on" ;
3171
+ }
3169
3172
if ( $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
3170
3173
badprint " CPanel and Flex system skip-name-resolve should be on" ;
3171
3174
push (@generalrec , " name resolution is enabled due to cPanel doesn't support this disabled." );
3172
3175
push (@adjvars , " skip-name-resolve=0" );
3173
- else {
3174
- infoprint " CPanel and Flex system skip-name-resolve should be on" ;
3175
3176
}
3176
3177
}
3177
3178
elsif ( $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
You can’t perform that action at this time.
0 commit comments