]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
We need to close "file" as we opened it (p), not as file.
authorAidan Van Dyk <aidan@ifax.com>
Tue, 30 Jan 2007 16:20:14 +0000 (16:20 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Tue, 30 Jan 2007 16:20:14 +0000 (16:20 +0000)
util/common-functions.sh.in

index e97e72d2261d7d8a4e38a093360741b8b64266a9..5a5cbe96c36ccbf48bea1d4387d7983faf69bf6f 100644 (file)
@@ -250,7 +250,7 @@ template ()
                {
                    template_line(buf);
                }
-               close(file);
+               close(p);
            }
 
        }