summaryrefslogtreecommitdiff
path: root/src/init/s6-linux-init-maker.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-10 23:03:01 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-10 23:03:01 +0000
commit86c99b5be2ff091520decdf1a792e9d06f259c30 (patch)
treef99a4d774d3c25b26931effe556311fdc35b59ec /src/init/s6-linux-init-maker.c
parente43d55a13900765e88f406dc76e1a4b71b2db65a (diff)
downloads6-linux-init-86c99b5be2ff091520decdf1a792e9d06f259c30.tar.xz
Fix s6-l-i-m init $@ bug; prepare for 1.0.5.1
Diffstat (limited to 'src/init/s6-linux-init-maker.c')
-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 35beb3e..f858e5f 100644
--- a/src/init/s6-linux-init-maker.c
+++ b/src/init/s6-linux-init-maker.c
@@ -288,7 +288,7 @@ static inline int stage1_script (buffer *b, char const *data)
if (inns && buffer_puts(b, " -C") < 0) return 0 ;
if (nologger && buffer_puts(b, " -B") < 0) return 0 ;
- if (buffer_puts(b, "\n") < 0) return 0 ;
+ if (buffer_puts(b, " -- \"$@\"\n") < 0) return 0 ;
(void)data ;
return 1 ;