Browse Source

Adjust mariadb version check to support 10.6.

Raphael Schneeberger 4 years ago
parent
commit
fa4f4814be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-list-sys-services

+ 1 - 1
bin/v-list-sys-services

@@ -239,7 +239,7 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
             fi
             if [ -f /usr/bin/mysql ]; then
                 mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4`
-                if [ $mariadb_v = "10.5" ]; then
+                if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ]; then
                     service='mariadb'
                     proc_name='mariadbd'
                 fi