[PATCH 2/2] start-stop-daemon - find processes better

Roy Marples roy at marples.name
Thu May 1 12:06:36 UTC 2008


On Thursday 01 May 2008 12:39:16 you wrote:
> Roy, the above all makes sense and your patch looks good too. One minor
> thing, I don't think you need the
> +	if (execname)
> +		xstat(execname, &execstat);
> anymore or am I missing something?

Checking the existance of the binary to start?
Sure, execv will catch it, but if using --background on a non existant binary, 
the parent will have already returned 0 which is bad.

Thanks

Roy



More information about the busybox mailing list