summaryrefslogtreecommitdiff
path: root/src/init/s6-linux-init-maker.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-03-16 13:17:27 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-03-16 13:17:27 +0000
commit3436ed5b69bc5488439458c08b7073f5894acb48 (patch)
treeb2009ca3bd819737535e1546d89c3ff83d618285 /src/init/s6-linux-init-maker.c
parent41b937add5b50f682039babda0e6fbae9bcae12b (diff)
downloads6-linux-init-3436ed5b69bc5488439458c08b7073f5894acb48.tar.xz
Use s6-sudod -d in runleveld
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 33c9b51..d6768da 100644
--- a/src/init/s6-linux-init-maker.c
+++ b/src/init/s6-linux-init-maker.c
@@ -211,7 +211,7 @@ static int runleveld_script (buffer *b, char const *data)
EXECLINE_EXTBINPREFIX "fdmove -c 2 1\n"
EXECLINE_EXTBINPREFIX "fdmove 1 3\n"
S6_EXTBINPREFIX "s6-ipcserver -1 -a 0700 -c 1 -- " RUNLEVELD_SOCKET "\n"
- S6_EXTBINPREFIX "s6-sudod -0 -1 -2 -t 30000 --\n") < 0
+ S6_EXTBINPREFIX "s6-sudod -dt30000 --\n") < 0
|| !string_quote(&satmp, robase, strlen(robase))) return 0 ;
if (buffer_put(b, satmp.s + sabase, satmp.len - sabase) < 0) goto err ;
satmp.len = sabase ;