Skip to content

Commit c9f0f88

Browse files
committed
MDEV-19822 MariaDB 10.4 install fails on Ubuntu 18.04 if Prometheus mysqld_exporter is running
1 parent bccd9d0 commit c9f0f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/mariadb-server-10.4.preinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mysql_upgradedir=/var/lib/mysql-upgrade
2222
stop_server() {
2323
# Return immediately if there are no mysql processes running
2424
# as there is no point in trying to shutdown in that case.
25-
if ! pgrep mysqld > /dev/null; then return; fi
25+
if ! pgrep -x mysqld > /dev/null; then return; fi
2626

2727
set +e
2828
systemctl stop mysql

0 commit comments

Comments
 (0)