[arch-general] Fw: get pid of daemon in init script

Michael Krauss hippodriver at gmx.net
Fri Feb 8 15:35:24 EST 2008

On 08/02/08, Dan McGee wrote:
> Because you are calling pidof before the process starts- bash does not
> do lazy evaluation of your expressions.
> If you want to store the PID of the newly started process, you will
> have to make another PID=... call to get it in the else block where
> you access it.

Ohh, you are absolutely right. It is working now. I must get this damn
Common Lisp out of my head before writing shell scripts next time.

I will file a bug report on cups too.

Michael Krauss

More information about the arch-general mailing list