diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-06-17 19:16:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-06-17 19:16:23 +0000 |
commit | 19e02c8670497ae4677ced7ce04c0300278d6fd5 (patch) | |
tree | d2ec0e8e031bf930fd7b4c6291e3f95e9bdcc0b6 | |
parent | 7341e0b2e34e7520f792080be772247b5e0dc9b2 (diff) | |
download | s6-linux-init-19e02c8670497ae4677ced7ce04c0300278d6fd5.tar.xz |
Fix s6-svscan-log script
-rw-r--r-- | src/init/s6-linux-init-maker.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |