s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit 6c22a2f1b48ed20bb06d3359c71683392653b11a
parent 2ef5f87d7e7dfcde3a515307f18d5e1584f8e57e
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Tue, 24 Feb 2015 22:26:25 +0000

 Bugfix: wrong selection amount in s6-log's second pass - thanks Patrick Mahoney.

Diffstat:
Msrc/daemontools-extras/s6-log.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemontools-extras/s6-log.c b/src/daemontools-extras/s6-log.c @@ -810,7 +810,6 @@ static inline void script_secondpass (char const *const *argv, scriptelem_t *scr } if (r) goto fail ; } - selections[sel++] = selitem ; if (flagacted) { flagacted = 0 ; @@ -822,6 +821,7 @@ static inline void script_secondpass (char const *const *argv, scriptelem_t *scr actions += act ; act = 0 ; script++ ; } + selections[sel++] = selitem ; break ; } case 'n' :