Doh! Remember to close /etc/inittab
authorEric Andersen <andersen@codepoet.org>
Wed, 15 May 2002 22:19:09 +0000 (22:19 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 15 May 2002 22:19:09 +0000 (22:19 -0000)
init/init.c

index 2e2f855776bfc868211d03a1d4df1861e91f1db7..f109c4ea5732a5b9574eb39eb70ecd1b065c70f3 100644 (file)
@@ -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 */
 }