summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorSimon Brandner <simon.brandner@partner.bmw.de>2013-04-25 13:29:21 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-19 16:54:48 +0200
commit7f6931bd4d363beda64b05bca6841d62c2c05cea (patch)
tree972ddbaa430c638a78d6473b79c950f11af455d4 /src/system
parentf524304ff10ce50259cc28ced0915ba47e294920 (diff)
downloadDLT-daemon-7f6931bd4d363beda64b05bca6841d62c2c05cea.tar.gz
removed closure of daemonized file descriptor pointing to /dev/null
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/system')
-rw-r--r--src/system/dlt-system-process-handling.c2
1 files changed, 1 insertions, 1 deletions
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;
}