Skip to content

Commit f834d63

Browse files
ScIT-Raphaeljaapmarcus
authored andcommitted
Adjust mariadb version check to support 10.6.
1 parent 36345fa commit f834d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-list-sys-services

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
239239
fi
240240
if [ -f /usr/bin/mysql ]; then
241241
mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4`
242-
if [ $mariadb_v = "10.5" ]; then
242+
if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ]; then
243243
service='mariadb'
244244
proc_name='mariadbd'
245245
fi

0 commit comments

Comments
 (0)