From 5f965826ea25a325b1228a1d3f2c2916949a9a52 Mon Sep 17 00:00:00 2001 From: Mattia Giambirtone Date: Sun, 13 Mar 2022 12:46:39 +0100 Subject: [PATCH] Shell has stderr working now --- src/main.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.nim b/src/main.nim index a689764..164bcfb 100644 --- a/src/main.nim +++ b/src/main.nim @@ -61,7 +61,7 @@ proc addStuff = var shell = newService(name="login", description="A simple login shell", kind=Simple, workDir=getCurrentDir(), runlevel=Boot, exec="/bin/login -f root", supervised=true, restart=Always, restartDelay=0, depends=(@[]), provides=(@[]), - useParentStreams=true, stdin="/dev/null", stderr="", stdout="" + useParentStreams=true, stdin="/dev/null", stderr="/proc/self/fd/2", stdout="/proc/self/fd/1" ) addService(errorer) addService(echoer)