]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/jwhois-4.0-fclose.patch
udev: remove /var/run mount from initskript.
[people/teissler/ipfire-2.x.git] / src / patches / jwhois-4.0-fclose.patch
CommitLineData
c5e5324c
MT
1diff -up jwhois-4.0/src/init.c_old jwhois-4.0/src/init.c
2--- jwhois-4.0/src/init.c_old 2007-06-26 08:59:17.000000000 +0200
3+++ jwhois-4.0/src/init.c 2009-01-27 15:49:35.000000000 +0100
4@@ -283,6 +283,8 @@ parse_args(int *argc, char ***argv)
5 if (in)
6 jconfig_parse_file(in);
7
8+ fclose(in);
9+
10 if (verbose>1)
11 {
12 printf("[Debug: Cache = %s]\n", cache?"On":"Off");