From 19e02c8670497ae4677ced7ce04c0300278d6fd5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 17 Jun 2015 19:16:23 +0000 Subject: Fix s6-svscan-log script --- src/init/s6-linux-init-maker.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/init') diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c index e693041..e3aba18 100644 --- a/src/init/s6-linux-init-maker.c +++ b/src/init/s6-linux-init-maker.c @@ -67,6 +67,8 @@ static int s6_svscan_log_script (buffer *b) char fmt[UINT64_FMT] ; if (buffer_puts(b, "#!" EXECLINE_EXTBINPREFIX "execlineb -P\n\n" + "redirfd -w 2 /dev/console\n" + "redirfd -w 1 /dev/null\n" "redirfd -rnb 0 fifo\n" "s6-applyuidgid -u ") < 0 || buffer_put(b, fmt, uint64_fmt(fmt, uncaught_logs_uid)) < 0 -- cgit v1.2.3