diff options
Diffstat (limited to '')
-rw-r--r-- | src/e_builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c index b94c328..666cf11 100644 --- a/src/e_builtins.c +++ b/src/e_builtins.c @@ -49,7 +49,7 @@ static void e_export_env_fork(ptr, msh); dup_redirs(ptr, msh); ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh); - u_eof_stdin(); + u_eof_fd(msh->fd); s_line_clear(&msh->curr); s_destroy(msh); exit(ret); |