loadproc double checking?
gerard at linuxfromscratch.org
Fri Dec 8 04:54:20 PST 2000
On December 7, 2000 06:11 pm, you wrote:
> What's the "for apid in.." loop good for in loadproc and killproc in the
> functions script?
> It seems like it's double-checking pidof's results. Is that necessary?
It has a double meaning. Firstly it is indeed an extra check and no it's not
really necesarry. The other thing is that it's easy now to do something with
the individual pid's. Stuff some commands between 'for' and 'done'.
But the main reason is still just checking. Making sure that it collects the
PID's fine and does something with it.
-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev