- unbreak rc_stop()
from frantisek holop, ok brad (MAINTAINER)
This commit is contained in:
parent
05b985db76
commit
1552f48bdc
@ -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}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user