Date: Mon, 31 Oct 2016 10:05:31 +0100 From: Lars Engels <lars.engels@0x20.net> To: Mathieu Arnold <mat@FreeBSD.org> Cc: "Jason E. Hale" <jhale@FreeBSD.org>, 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> In-Reply-To: <36d194e7-63e4-e608-c0fa-0362728be8e8@FreeBSD.org> References: <201610300922.u9U9MFZO060895@repo.freebsd.org> <36d194e7-63e4-e608-c0fa-0362728be8e8@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161031090531.GH25603>