summaryrefslogtreecommitdiff
path: root/debian/mariadb-server-10.5.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mariadb-server-10.5.preinst')
-rw-r--r--debian/mariadb-server-10.5.preinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mariadb-server-10.5.preinst b/debian/mariadb-server-10.5.preinst
index 61752141c36..8dce0a4beef 100644
--- a/debian/mariadb-server-10.5.preinst
+++ b/debian/mariadb-server-10.5.preinst
@@ -22,7 +22,7 @@ mysql_upgradedir=/var/lib/mysql-upgrade
stop_server() {
# Return immediately if there are no mysql processes running
# as there is no point in trying to shutdown in that case.
- if ! pgrep mysqld > /dev/null; then return; fi
+ if ! pgrep -x mysqld > /dev/null; then return; fi
set +e
systemctl stop mysql