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. _______________________________________________ [email protected] mailing list http://wmii.de/cgi-bin/mailman/listinfo/wmii
