aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-15 22:19:09 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-15 22:19:09 +0000
commitd8636cad4dcc6bc56e9732070683ce1575d92f2c (patch)
tree196b01571fa585dc0ddd06ac3ef90ed532b558d3
parentf6495eb7670063c0e9040c3eb3a0f1087d762a6a (diff)
downloadbusybox-d8636cad4dcc6bc56e9732070683ce1575d92f2c.tar.gz
Doh! Remember to close /etc/inittab
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 2e2f85577..f109c4ea5 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1011,6 +1011,7 @@ static void parse_inittab(void)
message(LOG | CONSOLE, "\rBad inittab entry: %s\n", lineAsRead);
}
}
+ fclose(file);
return;
#endif /* CONFIG_FEATURE_USE_INITTAB */
}