diff options
author | Simon Brandner <simon.brandner@partner.bmw.de> | 2013-04-25 13:29:21 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2013-07-19 16:54:48 +0200 |
commit | 7f6931bd4d363beda64b05bca6841d62c2c05cea (patch) | |
tree | 972ddbaa430c638a78d6473b79c950f11af455d4 /src/system | |
parent | f524304ff10ce50259cc28ced0915ba47e294920 (diff) | |
download | DLT-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.c | 2 |
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; } |