On Thursday 31 March 2011 17:24, Ed W wrote:
> Hi, the "full-fat" version of start-stop-daemon tends to be used in init
> scripts using the --test option to see if the daemon is actually running
> or crashed.  This isn't obviously working as expected for me with
> busybox-1.18.3 ?
> 
>   $ start-stop-daemon -K --test --pidfile /tmp/my.pid && echo true
>   stopped process in pidfile '/tmp/my.pid' (pid 999999999)
>   true
> 
> I think the current behaviour isn't expected (man page says it should
> return non zero)?  Would a fix be straightforward?

Yes, fixing this should be easy. But first, what is the expected behavior,
including the message? "stopped process in pidfile FOO" doesn't
look good... what "standard" start-stop-daemon says in this case?

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to