Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
e2fsck: Check for cases where EOFBLOCKS_FL is unnecessarily set
[tools/e2fsprogs.git]
/
debugfs
/
debugfs.c
diff --git
a/debugfs/debugfs.c
b/debugfs/debugfs.c
index
a72d800
..
be95e20
100644
(file)
--- a/
debugfs/debugfs.c
+++ b/
debugfs/debugfs.c
@@
-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;
}