Whamcloud - gitweb
e2fsck: Check for cases where EOFBLOCKS_FL is unnecessarily set
[tools/e2fsprogs.git] / debugfs / debugfs.c
index a72d800..be95e20 100644 (file)
@@ -2133,6 +2133,8 @@ static int source_file(const char *cmd_file, int sci_idx)
                        exit_status++;
                }
        }
+       if (f != stdin)
+               fclose(f);
        return exit_status;
 }