From owner-svn-ports-all@freebsd.org Mon Oct 31 09:05:35 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE83FC2709E; Mon, 31 Oct 2016 09:05:35 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "0x20.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83F0416E3; Mon, 31 Oct 2016 09:05:34 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id C4F7E6E0082; Mon, 31 Oct 2016 10:05:31 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u9V95Vri091486; Mon, 31 Oct 2016 10:05:31 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u9V95VVa090095; Mon, 31 Oct 2016 10:05:31 +0100 (CET) (envelope-from lars) Date: Mon, 31 Oct 2016 10:05:31 +0100 From: Lars Engels To: Mathieu Arnold Cc: "Jason E. Hale" , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r424939 - in head/sysutils/cbsd: . files Message-ID: <20161031090531.GH25603@e-new.0x20.net> References: <201610300922.u9U9MFZO060895@repo.freebsd.org> <36d194e7-63e4-e608-c0fa-0362728be8e8@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PNpeiK4tTqhYOExY" Content-Disposition: inline In-Reply-To: <36d194e7-63e4-e608-c0fa-0362728be8e8@FreeBSD.org> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p35 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2016 09:05:35 -0000 --PNpeiK4tTqhYOExY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 30, 2016 at 10:39:47AM +0100, Mathieu Arnold wrote: > Le 30/10/2016 =C3=A0 10:22, Jason E. Hale a =C3=A9crit : > > =20 > > cbsdd_stop() > > { > > - [ -f "${pidfile}" ] && kill -9 $( /bin/cat ${pidfile} ) > > + if [ -f "${pidfile}" ]; then > > + kill -9 $( /bin/cat ${pidfile} ) >=20 > This should be pkill -9 -f ${pidfile} You mean pkill -9 -F ${pidfile}? -f ${pidfile} would kill by pidfile's name, not its content. --PNpeiK4tTqhYOExY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJYFwlbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tF9oIAIrmbhjuZgUmMN25XtbmM2O+ HJkffedxy+xf1c6aj+FWt9BwO8tHQ4fbEyynsoFGMn3fcC1naVczIZCQac6S6/6j rYbejJFOAX+7/zSXMB9WH4TApS7j/UdjvdpBGitvEOP1OQjHWNicWTHVlEDgmqAC EdkG/Xnk1Fy8e1KPg+dTvaQrO95S7J8V9IlyBXwcEBDpXDqZMz7iFcJrP6DiT/Uy fsicLHTuCLL98q/3Y7MTjWSvi7696DPqwRuOC1kq9ZybLLWdqiSF9uZ6mficMCRj Nmq8BilEcnLi8S/Gexy6qQGB/rsq5MxK8C5hUibXp7xrg8fXriFu6HcWCF5Plr0= =dGNw -----END PGP SIGNATURE----- --PNpeiK4tTqhYOExY--