From 86c99b5be2ff091520decdf1a792e9d06f259c30 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 10 Nov 2020 23:03:01 +0000 Subject: Fix s6-l-i-m init $@ bug; prepare for 1.0.5.1 --- src/init/s6-linux-init-maker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init') 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 ; -- cgit v1.2.3