From 560b45894b090795da5662773deaec1b2743ccc4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 Apr 2016 09:08:20 +0200 Subject: [PATCH] #184 minor fix due to error message --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 873ba4a..c1c6316 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -3299,7 +3299,7 @@ sub mariadb_galera { badprint "Galera Notify command is not defined."; push( @adjvars, "set up parameter wsrep_notify_cmd to be notify" ); } - if ( trim( $myvar{'wsrep_sst_method'} ) !~ "^\s*xtrabackup.*" ) { + if ( trim( $myvar{'wsrep_sst_method'} ) !~ "^xtrabackup.*" ) { badprint "Galera SST method is not xtrabackup based."; push( @adjvars, "set up parameter wsrep_sst_method to xtrabackup based parameter" ); }