summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-05-05 23:45:29 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-05-05 23:45:29 +0000
commit562399b639ad4f35f5aeb95b063d25f8d557bbbb (patch)
treeb914922e052edc1096f2bb891b7d826c4b53ebd7 /src
parent27f1ba99521c4bdf081e6364ca4bea841aee8557 (diff)
downloads6-linux-init-562399b639ad4f35f5aeb95b063d25f8d557bbbb.tar.xz
newline-terminate generated utmpd run script
Diffstat (limited to 'src')
-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 af67bf7..bc06836 100644
--- a/src/init/s6-linux-init-maker.c
+++ b/src/init/s6-linux-init-maker.c
@@ -527,7 +527,7 @@ static int utmpd_script (buffer *b, char const *aux)
EXECLINE_EXTBINPREFIX "cd " S6_LINUX_INIT_TMPFS "/" UTMPS_DIR "\n"
EXECLINE_EXTBINPREFIX "fdmove 1 3\n"
S6_EXTBINPREFIX "s6-ipcserver -1 -c 1000 -- " UTMPS_UTMPD_PATH "\n"
- UTMPS_EXTBINPREFIX "utmps-utmpd") < 0) return 0 ;
+ UTMPS_EXTBINPREFIX "utmps-utmpd\n") < 0) return 0 ;
(void)aux ;
return 1 ;