On Wed, 2006-04-12 at 15:20 -0400, Garance A Drosehn wrote: > > > > > > > > You can't do anything with /usr this early. This needs > > > > to be moved to _find_processes() where it's actually used. > > > > I suspect it should also be converted to pure shell code. > > > > I think this would work: > > > > > > > > for ent in `ps -p $$ -o jid`; do > >> > JID=$ent > > > > done > > You might want to change this to: > > for ent in `ps -p $$ -o jid=`; do > JID=$ent > done > > (adding '=' on 'jid', to get rid of the column header) You don't need the loop if you use the '=', as someone told me via private mail. -- Florent Thoumie flz_at_FreeBSD.org FreeBSD Committer
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC