[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    Re: [Cooker] Re: [CHRPM] drakxtools-10.1-0.17mdk
From:       FACORAT Fabrice <facorat.fabrice () laposte ! net>
Date:       2004-08-31 19:17:18
Message-ID: 1093979838.18990.48.camel () admin3 ! fiventis-rouen ! fr
[Download RAW message or body]

Le mardi 31 août 2004 à 21:05 +0200, Olivier Blin a écrit :
> Thierry Vignaud <tvignaud@mandrakesoft.com> writes:
> 
> > Olivier Blin <oblin@mandrakesoft.com> writes:
> > 
> > > > > I just understand ... net_applet see itself. You should provide the
> > > > > PID of the launching net_applet so that it ignores lines with its
> > > > > PID
> > > > 
> > > > does this patch solves this:
> > > > -    my @pid = `ps -u $ENV{USER}` =~ /\Q$_[0]/;
> > > > +    my @pid = grep { $_ ne $$ } `ps -u $ENV{USER}` =~ /\Q$_[0]/;
> > > 
> > > Don't try it, it won't work ;-)
> > 
> > bug fixed in cvs.
> 
> Fabrice, you can get it here :
> http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/~checkout~/gi/perl-install/standalone/net_applet?rev=1.35
> 

works perfectly. congratulations to thierry and olivier !

[admin@admin3 admin]$ /tmp/net_applet &
[1] 8581
[admin@admin3 admin]$ /tmp/net_applet &
[2] 8587
[admin@admin3 admin]$ net_applet already running

[2]+  Done                    /tmp/net_applet


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic