diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-04-27 21:53:35 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-04-27 21:53:35 +0000 |
| commit | 1a24089c821b7ab71af9733a58ffc762accd84dd (patch) | |
| tree | 790ebe40aa8da93d76e974921c18f4434cddea90 /src | |
| parent | e850b94f5e796ad12b994ea664d3ecfd2d176620 (diff) | |
| download | s6-linux-init-1a24089c821b7ab71af9733a58ffc762accd84dd.tar.gz | |
Prepare for 1.1.3.0, templated configure, pkg-config support, etc.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/init/s6-linux-init-maker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c index aed2793..50aa7b8 100644 --- a/src/init/s6-linux-init-maker.c +++ b/src/init/s6-linux-init-maker.c @@ -167,8 +167,8 @@ static int s6_svscan_log_script (buffer *b, char const *data) } if (buffer_puts(b, S6_EXTBINPREFIX "s6-log -bpd3 -- ") < 0) return 0 ; if (console && buffer_puts(b, "1 ") < 0) return 0 ; - if (timestamp_style & 1 && buffer_puts(b, "t ") < 0 - || timestamp_style & 2 && buffer_puts(b, "T ") < 0 + if ((timestamp_style & 1 && buffer_puts(b, "t ") < 0) + || (timestamp_style & 2 && buffer_puts(b, "T ") < 0) || buffer_puts(b, S6_LINUX_INIT_TMPFS "/" UNCAUGHT_DIR "\n") < 0) return 0 ; (void)data ; |
