From 8cc209a614046238b5b40c5c2e633c0be9939d8b Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 20 Jul 2015 19:55:58 +0000 Subject: [PATCH] Tweak pkill invocation. --- net/tor/Makefile | 4 ++-- net/tor/pkg/tor.rc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/tor/Makefile b/net/tor/Makefile index 0cb1ad5a3db..10d8881f506 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.85 2015/07/15 13:54:55 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.86 2015/07/20 19:55:58 ajacoutot Exp $ COMMENT= anonymity service using onion routing DISTNAME= tor-0.2.6.10 CATEGORIES= net HOMEPAGE= https://www.torproject.org/ -REVISION= 0 +REVISION= 1 MAINTAINER= Pascal Stumpf diff --git a/net/tor/pkg/tor.rc b/net/tor/pkg/tor.rc index 720e3840763..278620f3bfb 100644 --- a/net/tor/pkg/tor.rc +++ b/net/tor/pkg/tor.rc @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: tor.rc,v 1.4 2015/07/15 13:54:55 ajacoutot Exp $ +# $OpenBSD: tor.rc,v 1.5 2015/07/20 19:55:58 ajacoutot Exp $ daemon="${TRUEPREFIX}/bin/tor" daemon_timeout=60 @@ -8,7 +8,7 @@ daemon_timeout=60 . /etc/rc.d/rc.subr rc_stop() { - pkill -INT -xf "^${pexp}" + pkill -INT -xf "${pexp}" } rc_cmd $1