summaryrefslogtreecommitdiff
path: root/src/daemontools-extras/s6-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemontools-extras/s6-log.c')
-rw-r--r--src/daemontools-extras/s6-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemontools-extras/s6-log.c b/src/daemontools-extras/s6-log.c
index 3e1d0ce..12b2220 100644
--- 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' :