summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorEric Andersen2002-05-15 22:19:09 +0000
committerEric Andersen2002-05-15 22:19:09 +0000
commitd8636cad4dcc6bc56e9732070683ce1575d92f2c (patch)
tree196b01571fa585dc0ddd06ac3ef90ed532b558d3 /init/init.c
parentf6495eb7670063c0e9040c3eb3a0f1087d762a6a (diff)
downloadbusybox-d8636cad4dcc6bc56e9732070683ce1575d92f2c.zip
busybox-d8636cad4dcc6bc56e9732070683ce1575d92f2c.tar.gz
Doh! Remember to close /etc/inittab
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 2e2f855..f109c4e 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 */
}