diff options
author | axel <axel@liljencrantz.se> | 2005-10-03 23:09:37 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-03 23:09:37 +1000 |
commit | 101205900b105169c06d9a083304c01f5013d6f4 (patch) | |
tree | 8a101a3d984190dde8d6a43c67c6e597882a24cc /main.c | |
parent | c39fed1f37b790ce685f7883fc64d3ed8fccedf5 (diff) |
Make sure all internal file descriptors are closed when spawning children
darcs-hash:20051003130937-ac50b-95fb750b3c26f1c03a2a877770bbeee536ea3b74.gz
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -205,7 +205,8 @@ int main( int argc, char **argv ) if( force_interactive ) is_interactive_session=1; - + + exec_init(); parser_init(); builtin_init(); function_init(); @@ -299,6 +300,7 @@ int main( int argc, char **argv ) parser_destroy(); wutil_destroy(); common_destroy(); + exec_destroy(); intern_free_all(); |