Bug 517

Summary: runsv does not pass arguments to finish script
Product: Busybox Reporter: Earl Chew <echew>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: enhancement CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Host: Target:
Build:
Attachments: Patch to enable argument passing to finish

Description Earl Chew 2009-07-31 01:22:27 UTC
http://smarden.sunsite.dk/runit/runsv.8.html

> Two arguments are given to ./finish. The first one is ./run’s exit code, or -1
> if ./run didn’t exit normally. The second one is the least significant byte of
> the exit status as determined by waitpid(2); for instance it is 0 if ./run
> exited normally, and the signal number if ./run was terminated by a signal. If
> runsv cannot start ./run for some reason, the exit code is 111 and the
> status is 0.
Comment 1 Earl Chew 2009-07-31 01:23:02 UTC
Created attachment 531 [details]
Patch to enable argument passing to finish
Comment 2 Denys Vlasenko 2009-08-02 00:23:45 UTC
Applied to git, thanks! Please try current git