summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c2
1 files changed, 1 insertions, 1 deletions
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);
}