Re: [wmii] status doesn't work

From: R. Mattes <rm_AT_seid-online.de>
Date: Fri, 10 Mar 2006 21:21:42 +0100

On Fri, 2006-03-10 at 21:15 +0100, David Guibert wrote:
> 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

That _should_ do the trick, but it never worked here (Ubuntu/PPC 5.10,
shell is bash in 'sh' mode).
I don't say that this is wrongly written, i just wanted to mention that
it doesn't work (meaning: doing 'Mod4-Control-w,y i always ended up
with two wmiirc scripts running).

 Cheers, RalfD
 
> regards.
Received on Fri Mar 10 2006 - 21:21:59 UTC

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