From: Pablo Neira Ayuso Date: Tue, 26 Mar 2013 23:07:31 +0000 (+0100) Subject: Revert "ulogd: close logfile description in the exit path of parent process" X-Git-Tag: ulogd-2.0.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf0c976fdb6383640cd7ea8f2c8f07d386e9a031;p=thirdparty%2Fulogd2.git Revert "ulogd: close logfile description in the exit path of parent process" This reverts commit 3179bd4de89de7c2388849f5bc48e8f5aad9e5b9. Pointing to the wrong place. This is not the file descriptor that ulogd is leaking. --- diff --git a/src/ulogd.c b/src/ulogd.c index ded9218..b28d0f8 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -1277,7 +1277,6 @@ int main(int argc, char* argv[]) fclose(stdout); fclose(stderr); fclose(stdin); - fclose(logfile); setsid(); }