summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-26 19:18:04 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-26 19:18:04 +0000
commitd4f6c3f613e74911943e44164a4d5f1526b6f340 (patch)
tree6b5068a2eab488d587231a84d7af33ccf38aa81c /src
parentef4d8c74f9342cc67421f20e4aaa4d62a911fcb8 (diff)
downloads6-linux-init-d4f6c3f613e74911943e44164a4d5f1526b6f340.tar.xz
Add warning to the doc; also set soft limits
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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 1a8827b..98b9b46 100644
--- a/src/init/s6-linux-init-maker.c
+++ b/src/init/s6-linux-init-maker.c
@@ -242,7 +242,7 @@ static inline int stage1_script (buffer *b, char const *data)
if (!put_shebang_options(b, "-S0")) return 0 ;
if (ressa.len)
{
- if (buffer_puts(b, S6_EXTBINPREFIX "s6-softlimit -h ") < 0
+ if (buffer_puts(b, S6_EXTBINPREFIX "s6-softlimit -H ") < 0
|| buffer_put(b, ressa.s, ressa.len) < 0) goto err ;
}
if (buffer_puts(b, S6_LINUX_INIT_EXTBINPREFIX "s6-linux-init -c ") < 0