summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-06-09 17:18:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-06-09 17:18:00 +0000
commitabb464345e953e168bfb95b90a6f910b66b39cbf (patch)
tree811298414111ff11c5e66cc39fea81b93002358b
parent98546a3850d5b6f81bf6cf973481eebd1d329d9e (diff)
downloads6-linux-init-abb464345e953e168bfb95b90a6f910b66b39cbf.tar.xz
Properly prefix s6-log in s6-l-i-m
-rw-r--r--src/init/s6-linux-init-maker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c
index d6768da..9ad8302 100644
--- a/src/init/s6-linux-init-maker.c
+++ b/src/init/s6-linux-init-maker.c
@@ -162,7 +162,7 @@ static int s6_svscan_log_script (buffer *b, char const *data)
satmp.len = sabase ;
if (buffer_puts(b, "\n") < 0) return 0 ;
}
- if (buffer_puts(b, "s6-log -bpd3 -- ") < 0) return 0 ;
+ 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