summaryrefslogtreecommitdiffstats
path: root/src/sh_filetype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sh_filetype.c')
-rw-r--r--src/sh_filetype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sh_filetype.c b/src/sh_filetype.c
index 9abac46..3993d0b 100644
--- a/src/sh_filetype.c
+++ b/src/sh_filetype.c
@@ -596,6 +596,8 @@ int main (int argc, char * argv[])
fprintf(stdout, "%s: %s\n", argv[1], filetype);
+ fclose(fh);
+
return 0;
}
return 1;