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

Mathieu Arnold mat at FreeBSD.org
Mon Oct 31 09:11:56 UTC 2016


Le 31/10/2016 à 10:05, Lars Engels a écrit :
> 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.

Yes, I did.

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20161031/a29e6beb/attachment.sig>


More information about the svn-ports-all mailing list