summaryrefslogtreecommitdiff
path: root/src/daemontools-extras
diff options
context:
space:
mode:
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)