svn commit: r424939 - in head/sysutils/cbsd: . files

Lars Engels lars.engels at 0x20.net
Mon Oct 31 09:05:35 UTC 2016


On Sun, Oct 30, 2016 at 10:39:47AM +0100, Mathieu Arnold wrote:
> Le 30/10/2016 à 10:22, Jason E. Hale a écrit :
> >  
> >  cbsdd_stop()
> >  {
> > -	[ -f "${pidfile}" ] && kill -9 $( /bin/cat ${pidfile} )
> > +	if [ -f "${pidfile}" ]; then
> > +		kill -9 $( /bin/cat ${pidfile} )
> 
> This should be pkill -9 -f ${pidfile}

You mean pkill -9 -F ${pidfile}?

-f ${pidfile} would kill by pidfile's name, not its content.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20161031/26898757/attachment.sig>


More information about the svn-ports-all mailing list