- unbreak rc_stop()

from frantisek holop, ok brad (MAINTAINER)
This commit is contained in:
jasper 2010-12-12 20:18:40 +00:00
parent 05b985db76
commit 1552f48bdc
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.179 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.180 2010/12/12 20:18:40 jasper Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT-main= multithreaded SQL database (client)
COMMENT-server= multithreaded SQL database (server)
COMMENT-tests= multithreaded SQL database (regression test suite/benchmark)
REVISION-server=2
REVISION-server=3
VERSION= 5.1.53
DISTNAME= mysql-${VERSION}

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: mysqld.rc,v 1.5 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: mysqld.rc,v 1.6 2010/12/12 20:18:40 jasper Exp $
. /etc/rc.d/rc.subr
@ -20,7 +20,7 @@ rc_stop() {
${TRUEPREFIX}/bin/mysqladmin -s shutdown
if [ $? -gt 0 ]; then
pkill -f "^/bin/sh ${daemon}"
pkill -U _mysql -f "^${TRUEPREFIX}libexec/mysqld"
pkill -U _mysql -f "^${TRUEPREFIX}/libexec/mysqld"
fi
}