Re: [wmii] status doesn't work

From: David Guibert <David.Guibert_AT_cdcsp.univ-lyon1.fr>
Date: Fri, 10 Mar 2006 21:15:34 +0100

On Fri, Mar 10, 2006 at 08:57:56PM +0100, R. Mattes wrote:
> I was just about to report a bug in the rc/wmiirc script:
>
> $MODKEY-Control-w,y)
> wmiirc &;;
>
> This will create a _second_ wmiirc process so now you have
> two event readers - most likely _not_ what you want.
> Should probably be:
>
> $MODKEY-Control-w,y)
> exec wmiirc;;
>

Not at all, because the wmiirc script contains the following two lines
that ensure to kill the previously running wmiirc.

|test -f $pidfile && kill `cat $pidfile` 2>/dev/null
|echo $$ >$pidfile

regards.

-- 
David
Received on Fri Mar 10 2006 - 21:15:56 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:00:59 UTC