summaryrefslogtreecommitdiff
path: root/src/daemontools-extras
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-17 21:29:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-17 21:29:00 +0000
commit79fe528287af73c7e1691c7c447972704eb7634b (patch)
tree51981fa7fe44c8bd796cc47da2ece451899cbb3a /src/daemontools-extras
parentb11bacf27cd92528f4c2e157414c43b9cebd2b4d (diff)
downloads6-79fe528287af73c7e1691c7c447972704eb7634b.tar.xz
Bugfix: s6-log wasn't parsing regexps correctly (!)
Thanks to Roy Lanek. version: 2.1.1.1
Diffstat (limited to 'src/daemontools-extras')
-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 8a5afc0..3e1d0ce 100644
--- a/src/daemontools-extras/s6-log.c
+++ b/src/daemontools-extras/s6-log.c
@@ -808,7 +808,7 @@ static inline void script_secondpass (char const *const *argv, scriptelem_t *scr
errno = ENOMEM ;
strerr_diefu1sys(111, "initialize script") ;
}
- if (!r) goto fail ;
+ if (r) goto fail ;
}
selections[sel++] = selitem ;
if (flagacted)