From 79fe528287af73c7e1691c7c447972704eb7634b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 17 Feb 2015 21:29:00 +0000 Subject: Bugfix: s6-log wasn't parsing regexps correctly (!) Thanks to Roy Lanek. version: 2.1.1.1 --- src/daemontools-extras/s6-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemontools-extras') 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) -- cgit v1.2.3