]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
Revert "ulogd: close logfile description in the exit path of parent process"
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 26 Mar 2013 23:07:31 +0000 (00:07 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 26 Mar 2013 23:07:31 +0000 (00:07 +0100)
This reverts commit 3179bd4de89de7c2388849f5bc48e8f5aad9e5b9.

Pointing to the wrong place. This is not the file descriptor
that ulogd is leaking.

src/ulogd.c

index ded9218f2367950ab9a4f19cf0bc5ddb24578464..b28d0f858dd66676db901a7ed3cc7412500955cf 100644 (file)
@@ -1277,7 +1277,6 @@ int main(int argc, char* argv[])
                        fclose(stdout);
                fclose(stderr);
                fclose(stdin);
-               fclose(logfile);
                setsid();
        }