Bug 517 - runsv does not pass arguments to finish script
Summary: runsv does not pass arguments to finish script
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Windows
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-31 01:22 UTC by Earl Chew
Modified: 2009-08-09 21:45 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch to enable argument passing to finish (1.90 KB, patch)
2009-07-31 01:23 UTC, Earl Chew
Details

Note You need to log in before you can comment on or make changes to this bug.
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