diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-19 21:47:45 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-19 21:47:45 +0000 |
commit | 73bea8ab25859ca8a3e43c008087dd34a9d0b945 (patch) | |
tree | 0662c7083694725f7d57b52e426ed2bdefa9c6cf /src/init | |
parent | 2bbc798dc1dcb3bc96110794b17a7dd65f354f3e (diff) | |
download | s6-linux-init-73bea8ab25859ca8a3e43c008087dd34a9d0b945.tar.xz |
better configure, better strip, small init-maker bugfix
Diffstat (limited to 'src/init')
-rw-r--r-- | src/init/s6-linux-init-maker.c | 2 |
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 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 |