Tweak pkill invocation.

This commit is contained in:
ajacoutot 2015-07-16 01:51:25 +00:00
parent b048d27855
commit 1a159f4de7
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.231 2015/07/02 14:29:52 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.232 2015/07/16 01:51:25 ajacoutot Exp $
SHARED_ONLY= Yes
@ -6,6 +6,7 @@ COMMENT= GNOME display manager
GNOME_PROJECT= gdm
GNOME_VERSION= 3.16.2
REVISION= 0
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} puflogh1000X248.gif:0
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: gdm.rc,v 1.32 2015/06/11 11:56:15 ajacoutot Exp $
# $OpenBSD: gdm.rc,v 1.33 2015/07/16 01:51:26 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/gdm"
@ -28,7 +28,7 @@ rc_start() {
fi
rc_stop() {
pkill -9 -f "^${pexp}"
pkill -9 -xf "${pexp}"
pkill -f gdm-session-worker
pkill -u _x11 -f "^/usr/X11R6/bin/X.*/var/run/gdm"
# _gdm owned processed may already be gone... or not