From 7f6931bd4d363beda64b05bca6841d62c2c05cea Mon Sep 17 00:00:00 2001 From: Simon Brandner Date: Thu, 25 Apr 2013 13:29:21 +0200 Subject: removed closure of daemonized file descriptor pointing to /dev/null Signed-off-by: Alexander Wenzel --- src/system/dlt-system-process-handling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/system') diff --git a/src/system/dlt-system-process-handling.c b/src/system/dlt-system-process-handling.c index 49c20e7..e206db8 100644 --- a/src/system/dlt-system-process-handling.c +++ b/src/system/dlt-system-process-handling.c @@ -100,7 +100,7 @@ int daemonize() signal(SIGTSTP, SIG_IGN); signal(SIGTTOU, SIG_IGN); signal(SIGTTIN, SIG_IGN); - close(fd); + //no close(fd); - we just intentionally pointed stdx to null! tbd: set ignore for coverity return 0; } -- cgit v1.2.1