From 73bea8ab25859ca8a3e43c008087dd34a9d0b945 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 19 Nov 2015 21:47:45 +0000 Subject: better configure, better strip, small init-maker bugfix --- src/init/s6-linux-init-maker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init/s6-linux-init-maker.c') diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c index 87d3787..04f18d1 100644 --- a/src/init/s6-linux-init-maker.c +++ b/src/init/s6-linux-init-maker.c @@ -307,7 +307,7 @@ static inline int make_init_script (buffer *b) || buffer_puts(b, "/cd /\ns6-setsid -qb --\numask 0") < 0 || buffer_put(b, fmt, uint_ofmt(fmt, initial_umask)) < 0 || buffer_puts(b, "\nif { s6-echo -- ") < 0 - || !string_quote(&satmp, BANNER, sizeof(BANNER) - 1) < 0) return 0 ; + || !string_quote(&satmp, BANNER, sizeof(BANNER) - 1)) return 0 ; if (buffer_put(b, satmp.s, satmp.len) < 0) goto err ; satmp.len = sabase ; if (buffer_puts(b, " }\nif { s6-mount -nwt tmpfs -o mode=0755 tmpfs ") < 0 -- cgit v1.2.3