From 413a8d9092db10eca1da5d51ef92e65320ab3bf3 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 10 Nov 2020 19:24:53 +0100 Subject: stderr --- src/c_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_init.c b/src/c_init.c index 1e55f7e..21f4a52 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -89,7 +89,7 @@ static short line[0] == '\0') { c_set_term_raw(0); - write(1, "exit\n", 5); + write(2, "exit\n", 5); exit(msh->ret); return (1); } -- cgit v1.2.3